diff options
author | Shaun McCance <shaunm@gnome.org> | 2009-06-01 02:58:51 -0500 |
---|---|---|
committer | Shaun McCance <shaunm@gnome.org> | 2009-06-01 02:58:51 -0500 |
commit | b6eb32f41becc5550c1f512ea7635de786d7ac3b (patch) | |
tree | 0935d18b820fc2749881fe1f79565181a72bca11 /sandbox | |
parent | be7d9e4a7349bc10bd9c162b5a4b306872b17b43 (diff) | |
download | gnome-doc-utils-b6eb32f41becc5550c1f512ea7635de786d7ac3b.tar.gz |
Build and stylesheet changes prepping for Yelp work
Diffstat (limited to 'sandbox')
-rw-r--r-- | sandbox/mallard/html/Makefile | 14 |
1 files changed, 13 insertions, 1 deletions
diff --git a/sandbox/mallard/html/Makefile b/sandbox/mallard/html/Makefile index f7cbe6d..f5921c6 100644 --- a/sandbox/mallard/html/Makefile +++ b/sandbox/mallard/html/Makefile @@ -1,6 +1,7 @@ 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,%.html, $(notdir $(specs))) +xhtmls=$(patsubst %.xml,%.xhtml, $(notdir $(specs))) icons=admon-bug.png admon-caution.png admon-important.png admon-note.png admon-tip.png admon-warning.png marks=watermark-blockquote-201C.png watermark-code.png @@ -23,13 +24,24 @@ $(marks): $(pages) : mallard.cache $(xslts) $(pages) : %.html : ../../../doc/mallard/C/%.xml - xsltproc -o $@ \ + xsltproc \ --stringparam mal.cache.file `pwd`/mallard.cache \ --stringparam theme.icon.admon.path '' \ + --param mal.chunk.chunk_top 1 \ --param theme.icon.admon.size 24 \ --param mal2html.editor_mode 1 \ ../../../xslt/mallard/html/mal2html.xsl $< +$(xhtmls) : mallard.cache $(xslts) +$(xhtmls) : %.xhtml : ../../../doc/mallard/C/%.xml + xsltproc \ + --stringparam mal.cache.file `pwd`/mallard.cache \ + --stringparam theme.icon.admon.path '' \ + --param mal.chunk.chunk_top 1 \ + --param theme.icon.admon.size 24 \ + --param mal2html.editor_mode 1 \ + ../../../xslt/mallard/html/mal2xhtml.xsl $< + figures: if [ ! -d figures ]; then mkdir figures; fi cp ../../../doc/mallard/C/figures/*.png figures/ |