diff options
author | Shaun McCance <shaunm@gnome.org> | 2008-11-04 17:39:34 -0600 |
---|---|---|
committer | Shaun McCance <shaunm@gnome.org> | 2009-04-19 11:13:10 -0500 |
commit | 7dbab42cc78bdb8b3f1f9160eb34dafdd2b0d00d (patch) | |
tree | 615e16b987b556833339eadf59a61cc3dbb1bb45 /sandbox | |
parent | ad7fbc421294ad543c07f9856095ae6b81b0d423 (diff) | |
download | gnome-doc-utils-7dbab42cc78bdb8b3f1f9160eb34dafdd2b0d00d.tar.gz |
Getting html builds to work for the mallard spec
Diffstat (limited to 'sandbox')
-rw-r--r-- | sandbox/mallard/html/Makefile | 14 |
1 files changed, 7 insertions, 7 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: |