diff options
author | Tammy Fox <tfox@redhat.com> | 2003-10-02 16:39:57 +0000 |
---|---|---|
committer | Tammy Fox <tfox@redhat.com> | 2003-10-02 16:39:57 +0000 |
commit | 0036ca323f10ce9582400683d4b129ce23dd8780 (patch) | |
tree | 6e9d56f094dec8cc76879e9c0ed2b4e8b1a48928 | |
parent | d810b2d74b06783b06acdec58285682d3164149b (diff) | |
download | documentation-guide-0036ca323f10ce9582400683d4b129ce23dd8780.tar.gz documentation-guide-0036ca323f10ce9582400683d4b129ce23dd8780.tar.xz documentation-guide-0036ca323f10ce9582400683d4b129ce23dd8780.zip |
use variables, copy over css and stylesheet-images
-rw-r--r-- | Makefile | 21 |
1 files changed, 14 insertions, 7 deletions
@@ -1,5 +1,5 @@ ############################################################################### -# Makefile for community charter +# Makefile for RHLP docs project # Created by: Tammy Fox <tfox@redhat.com> # Last edited by: Tammy Fox <tfox@redhat.com> # WARNING: need passivetex 1.24 for pdf generation to work @@ -9,14 +9,21 @@ XSLPDF = ../xsl/main-pdf.xsl XSLHTML = ../xsl/main-html.xsl +LANG = en +DOCNAME = documentation-guide +XMLFILE = $(DOCNAME).xml -all: html pdf +###################################################### +html: + @xmlto html -x $(XSLHTML) -o $(DOCNAME) $(XMLFILE) + @mkdir -p $(DOCNAME)/stylesheet-images + @cp ../stylesheet-images/*.png $(DOCNAME)/stylesheet-images + @cp ../css/fedora.css $(DOCNAME) -html: documentation-guide.xml - @xmlto html -x $(XSLHTML) -o documentation-guide $< -pdf: documentation-guide.xml - @xmlto pdf -x $(XSLPDF) $< +pdf-%: + @xmlto pdf -x $(XSLPDF) $(XMLFILE) +###################################################### clean: - @rm -rfv *.html *.pdf *.tex documentation-guide/ + @rm -rfv *.html *.pdf *.tex $(DOCNAME) |