[gnome-doc-utils/mallard: 4/87] Getting html builds to work for the mallard spec
- From: Shaun McCance <shaunm src gnome org>
- To: svn-commits-list gnome org
- Subject: [gnome-doc-utils/mallard: 4/87] Getting html builds to work for the mallard spec
- Date: Sun, 19 Apr 2009 12:14:41 -0400 (EDT)
commit 7dbab42cc78bdb8b3f1f9160eb34dafdd2b0d00d
Author: Shaun McCance <shaunm gnome org>
Date: Tue Nov 4 17:39:34 2008 -0600
Getting html builds to work for the mallard spec
---
sandbox/mallard/html/Makefile | 14 +++++++-------
xslt/mallard/html/mal2html.xsl | 2 +-
2 files changed, 8 insertions(+), 8 deletions(-)
diff --git a/sandbox/mallard/html/Makefile b/sandbox/mallard/html/Makefile
index d5f47cb..f49ba30 100644
--- a/sandbox/mallard/html/Makefile
+++ b/sandbox/mallard/html/Makefile
@@ -1,5 +1,5 @@
-xslts=$(wildcard ../xslt/*.xsl)
-specs=$(filter-out ../spec/legal.xml, $(wildcard ../spec/*.xml))
+xslts=$(wildcard ../../../xslt/mallard/common/*.xsl) $(wildcard ../../../xslt/mallard/html/*.xsl)
+specs=$(filter-out ../../../doc/mallard/C/legal.xml, $(wildcard ../../../doc/mallard/C/*.xml))
pages=$(patsubst %.xml,%.xhtml, $(notdir $(specs)))
all: $(pages) figures mallard.cache
@@ -10,18 +10,18 @@ mallard.cache : $(specs) $(xslts)
echo "<page href='$$file'/>" >> $ in; \
done
echo '</cache>' >> $ in
- xsltproc ../xslt/mal2cache.xsl $ in | xmllint --format - > $@
+ xsltproc ../../../xslt/mallard/utils/mal2cache.xsl $ in | xmllint --format - > $@
rm $ in
-$(pages) : mallard.cache ../xslt/theme.xml $(xslts)
-$(pages) : %.xhtml : ../spec/%.xml
+$(pages) : mallard.cache $(xslts)
+$(pages) : %.xhtml : ../../../doc/mallard/C/%.xml
xsltproc -o $@ \
--stringparam mal.cache_file `pwd`/mallard.cache \
- ../xslt/mal2html.xsl $<
+ ../../../xslt/mallard/html/mal2html.xsl $<
figures:
if [ ! -d figures ]; then mkdir figures; fi
- cp ../spec/figures/*.png figures/
+ cp ../../../doc/mallard/C/figures/*.png figures/
.PHONY: clean
clean:
diff --git a/xslt/mallard/html/mal2html.xsl b/xslt/mallard/html/mal2html.xsl
index cbe3ac6..71685a1 100644
--- a/xslt/mallard/html/mal2html.xsl
+++ b/xslt/mallard/html/mal2html.xsl
@@ -27,7 +27,7 @@ Mallard to HTML
REMARK: Describe this module
-->
-<xsl:include href="mal-link.xsl"/>
+<xsl:include href="../common/mal-link.xsl"/>
<xsl:include href="mal2html-block.xsl"/>
<xsl:include href="mal2html-css.xsl"/>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]