Mercurial > hg > Members > kono > nitros9-code
changeset 641:767a608364b2
Some extra comments to the Makefile
author | roug |
---|---|
date | Sun, 08 Dec 2002 11:13:21 +0000 |
parents | 8a16d38f3d94 |
children | 1fa5fc8256cd |
files | docs/ccguide/makefile |
diffstat | 1 files changed, 12 insertions(+), 9 deletions(-) [+] |
line wrap: on
line diff
--- a/docs/ccguide/makefile Sun Dec 08 11:09:10 2002 +0000 +++ b/docs/ccguide/makefile Sun Dec 08 11:13:21 2002 +0000 @@ -33,31 +33,34 @@ all: $(BOOK).pdf -xml: - openjade -t tex -o $(BOOK).tex -d $(DOCBOOKDSL) $(XMLDCL) $(BOOK).docbook - pdfjadetex $(BOOK).tex - +# Check for syntax errors in XML lint: xmllint --valid --noout $(BOOK).docbook $(BOOK).pdf: $(BOOK).docbook $(SUPPORT) - docbook2pdf -d docbook-utils-a4.dsl#print $(BOOK).docbook + docbook2pdf -d "docbook-utils-a4.dsl#print" $(BOOK).docbook xmlto: $(BOOK).docbook xmlto pdf $(BOOK).docbook $(BOOK).ps: $(BOOK).docbook - docbook2ps -d docbook-utils-a4.dsl#print $(BOOK).docbook -# docbook2ps -d $(STYLESHEET) $(BOOK).docbook + docbook2ps -d "docbook-utils-a4.dsl#print" $(BOOK).docbook +# docbook2ps -d $(STYLESHEET)#print $(BOOK).docbook + +# This rule is an alternative way to produce a PDF document +xml-pdf: + openjade -t tex -o $(BOOK).tex -d $(DOCBOOKDSL) $(XMLDCL) $(BOOK).docbook + pdfjadetex $(BOOK).tex + $(BOOK).html: $(BOOK).docbook $(RM) *.htm *.html # jade -t sgml -V html-index -d /usr/share/sgml/docbook/dsssl-stylesheets-1.64/html/docbook.dsl $(BOOK).docbook # collateindex.pl -p -o index.docbook HTML.index - docbook2html -d docbook-utils-a4.dsl#html $(BOOK).docbook + docbook2html -d "docbook-utils-a4.dsl#html" $(BOOK).docbook print: $(BOOK).ps psnup -2 $(BOOK).ps | lpr clean: - $(RM) *.htm *.html $(BOOK).pdf $(BOOK).ps + $(RM) *.htm *.html *.tex *.out $(BOOK).pdf $(BOOK).ps