diff options
author | Shaun McCance <shaunm@gnome.org> | 2009-05-18 16:30:28 -0500 |
---|---|---|
committer | Shaun McCance <shaunm@gnome.org> | 2009-05-18 16:30:28 -0500 |
commit | 6d2c8e6ffca9f947165aae1389e38d999d519bf9 (patch) | |
tree | a6fdfcf882e23e735c900568bf577c419c179090 /sandbox | |
parent | 31d0d5157a0f2a3328a9c9f061a95830124efc0f (diff) | |
download | gnome-doc-utils-6d2c8e6ffca9f947165aae1389e38d999d519bf9.tar.gz |
[mallard] Trying out 24x24 admonition icons
Diffstat (limited to 'sandbox')
-rw-r--r-- | sandbox/mallard/html/Makefile | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/sandbox/mallard/html/Makefile b/sandbox/mallard/html/Makefile index 8781306..6c2596f 100644 --- a/sandbox/mallard/html/Makefile +++ b/sandbox/mallard/html/Makefile @@ -1,8 +1,9 @@ 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))) +icons=admon-bug.png admon-caution.png admon-important.png admon-note.png admon-tip.png admon-warning.png -all: $(pages) figures mallard.cache +all: $(pages) $(icons) figures mallard.cache mallard.cache : $(specs) $(xslts) echo '<cache xmlns="http://www.gnome.org/~shaunm/mallard">' > $@.in @@ -13,10 +14,16 @@ mallard.cache : $(specs) $(xslts) xsltproc ../../../xslt/mallard/utils/mal2cache.xsl $@.in | xmllint --format - > $@ rm $@.in + +$(icons): + ln -sf ../../../data/icons/hicolor/24x24/$@ $@ + $(pages) : mallard.cache $(xslts) $(pages) : %.html : ../../../doc/mallard/C/%.xml xsltproc -o $@ \ --stringparam mal.cache.file `pwd`/mallard.cache \ + --stringparam theme.icon.admon.path '' \ + --param theme.icon.admon.size 24 \ --param mal2html.editor_mode 1 \ ../../../xslt/mallard/html/mal2html.xsl $< |