Mercurial > hg > Members > kono > nitros9-code
diff docs/ccguide/makefile @ 637:62789dc2b312
Convert to Docbook XML format
author | roug |
---|---|
date | Sun, 08 Dec 2002 11:09:09 +0000 |
parents | 253b6096ee01 |
children | 767a608364b2 |
line wrap: on
line diff
--- a/docs/ccguide/makefile Sun Dec 08 11:09:09 2002 +0000 +++ b/docs/ccguide/makefile Sun Dec 08 11:09:09 2002 +0000 @@ -1,3 +1,5 @@ +DOCBOOKDSL = /usr/share/sgml/docbook/dsssl-stylesheets/print/docbook.dsl +XMLDCL = /usr/share/doc/openjade-1.3.1/pubtext/xml.dcl BOOK = ccguide STYLESHEET = docbook-utils.dsl @@ -31,12 +33,22 @@ all: $(BOOK).pdf +xml: + openjade -t tex -o $(BOOK).tex -d $(DOCBOOKDSL) $(XMLDCL) $(BOOK).docbook + pdfjadetex $(BOOK).tex + +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) $(BOOK).docbook $(BOOK).html: $(BOOK).docbook $(RM) *.htm *.html