diff options
author | Shaun McCance <shaunm@src.gnome.org> | 2007-02-02 19:14:53 +0000 |
---|---|---|
committer | Shaun McCance <shaunm@src.gnome.org> | 2007-02-02 19:14:53 +0000 |
commit | 08b7b6846f65311ac5b93303f558c95b7eb90839 (patch) | |
tree | 926a67c754a8d25b09b12f3558ce4529dfdf731a /sandbox | |
parent | 02d0d9fc2f6d1c3db5c322483b3c8df903c9c79e (diff) | |
download | gnome-doc-utils-08b7b6846f65311ac5b93303f558c95b7eb90839.tar.gz |
- Adding Makefile to build html versions
* html/Makefile:
- Adding Makefile to build html versions
svn path=/trunk/; revision=879
Diffstat (limited to 'sandbox')
-rw-r--r-- | sandbox/mallard/ChangeLog | 5 | ||||
-rw-r--r-- | sandbox/mallard/html/Makefile | 16 |
2 files changed, 21 insertions, 0 deletions
diff --git a/sandbox/mallard/ChangeLog b/sandbox/mallard/ChangeLog index cce27a1..daf170c 100644 --- a/sandbox/mallard/ChangeLog +++ b/sandbox/mallard/ChangeLog @@ -1,5 +1,10 @@ 2007-02-02 Shaun McCance <shaunm@gnome.org> + * html/Makefile: + - Adding Makefile to build html versions + +2007-02-02 Shaun McCance <shaunm@gnome.org> + * rng/*: * spec/*: * xslt/*: diff --git a/sandbox/mallard/html/Makefile b/sandbox/mallard/html/Makefile new file mode 100644 index 0000000..53fae81 --- /dev/null +++ b/sandbox/mallard/html/Makefile @@ -0,0 +1,16 @@ +pages=$(patsubst %.xml,%.xhtml, $(notdir $(wildcard ../spec/*.xml))) + +all: $(pages) mallard.cache + +mallard.cache : $(wildcard ../xslt/*.xsl) + echo '<cache xmlns="http://www.gnome.org/~shaunm/mallard">' >> $@.tmp + for file in $(wildcard ../spec/*.xml); do \ + xsltproc ../xslt/mal2cache.xsl $$file >> $@.tmp; \ + done + echo '</cache>' >> $@.tmp + mv $@.tmp $@ + +$(pages) : mallard.cache +$(pages) : $(wildcard ../xslt/*.xsl) +$(pages) : %.xhtml : ../spec/%.xml + xsltproc -o $@ ../xslt/mal2html.xsl $< |