From: Elio C. G. <el...@us...> - 2004-09-15 00:53:52
|
Update of /cvsroot/davinci/docs In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv7964 Added Files: Makefile Log Message: Makefile for documentation --- NEW FILE: Makefile --- # This makefile generate documentation form the docbook sources. # Available targets are: # html: Create html files # pdf: Create pdf documents # manpages: Create unix manpages # Default: html # Add here the names of the html documents you want to make HTMLDOCS=AboutPlugins.html MasterPlan.html # Add here the names of the PDF documents you want to make PDFDOCS=AboutPlugins.pdf MasterPlan.pdf # Add here the names of the manpages you want to make MANDOCS=davinci.1 # xsltproc command XSLTPROC=xsltproc # fop command FOP=fop # Path to HTML XSL file HTMLXSL=xsl/html/docbook.xsl # Path to the PDF XSL file PDFXSL=xsl/fo/tldp-print.xsl # Path to manpage XSL file MANXSL=xsl/manpages/docbook.xsl # You should not need to edit below this line. # Create html html: $(HTMLDOCS) echo "HTML is up to date." pdf: $(PDFDOCS) echo "PDF is up to date." manpages: $(MANDOCS) echo "Man pages are up to date." # Pattern rule to generate html with xsltproc %.html: %.xml $(XSLTPROC) -o $@ $(HTMLXSL) $< # Pattern rule to generate PDF with fop %.pdf: %.xml $(FOP) -xml $< -xsl $(PDFXSL) -pdf $@ # Pattern rule to generate manpages with xsltproc %.1: %.xml $(XSLTPROC) -o $@ $(MANXSL) $< |