summaryrefslogtreecommitdiffstats
path: root/doc/Makefile
diff options
context:
space:
mode:
authorNarayan Desai <desai@mcs.anl.gov>2006-08-22 23:14:10 +0000
committerNarayan Desai <desai@mcs.anl.gov>2006-08-22 23:14:10 +0000
commit27869eb6933b0670049f2b6ab3e387cd7a0c7653 (patch)
treefd4e5afc9f914c48bd66ccb8879c91ef039f8a84 /doc/Makefile
parentb6832c1ded40e58e75691042ccf4cb41e4b1b929 (diff)
downloadbcfg2-27869eb6933b0670049f2b6ab3e387cd7a0c7653.tar.gz
bcfg2-27869eb6933b0670049f2b6ab3e387cd7a0c7653.tar.bz2
bcfg2-27869eb6933b0670049f2b6ab3e387cd7a0c7653.zip
Doc patch from Ressu
git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@2093 ce84e21b-d406-0410-9b95-82705330c041
Diffstat (limited to 'doc/Makefile')
-rw-r--r--doc/Makefile12
1 files changed, 9 insertions, 3 deletions
diff --git a/doc/Makefile b/doc/Makefile
index 3f3c06e5b..b83135183 100644
--- a/doc/Makefile
+++ b/doc/Makefile
@@ -1,5 +1,11 @@
SOURCES = *.xml
-manual.pdf: $(SOURCES)
- xsltproc --stringparam body.font.family Helvetica --stringparam fop.extensions 1 /usr/share/xml/docbook/stylesheet/nwalsh/fo/docbook.xsl manual.xml > manual.fo
- fop -fo manual.fo -pdf manual.pdf
+%.fo: %.xml $(SOURCES)
+ xsltproc --stringparam body.font.family Helvetica --stringparam fop.extensions 1 /usr/share/xml/docbook/stylesheet/nwalsh/fo/docbook.xsl $< > $@
+
+%.html: %.xml $(SOURCES)
+ xsltproc -o $@ /usr/share/xml/docbook/stylesheet/nwalsh/xhtml/docbook.xsl $<
+
+%.pdf: %.fo
+ fop -fo $< -pdf $@
+