Mercurial > hg > Members > kono > nitros9-code
diff docs/nitros9guide/makefile @ 515:87fe15316ccc
Sprused up Makefiles
author | boisy |
---|---|
date | Thu, 10 Oct 2002 15:05:28 +0000 |
parents | 32bd5072b3a5 |
children | 72443b44537e |
line wrap: on
line diff
--- a/docs/nitros9guide/makefile Thu Oct 10 15:05:16 2002 +0000 +++ b/docs/nitros9guide/makefile Thu Oct 10 15:05:28 2002 +0000 @@ -1,22 +1,23 @@ -SRC=os9guide -STYLESHEET=docbook-utils.dsl +BOOK = os9guide +STYLESHEET = docbook-utils.dsl -all: $(SRC).html +all: $(BOOK).pdf -$(SRC).pdf: $(SRC).docbook - docbook2pdf -d docbook-utils-a4.dsl#print $(SRC).docbook +$(BOOK).pdf: $(BOOK).docbook + docbook2pdf -d docbook-utils-a4.dsl#print $(BOOK).docbook -$(SRC).ps: $(SRC).docbook - docbook2ps -d docbook-utils-a4.dsl#print $(SRC).docbook -# docbook2ps -d $(STYLESHEET) $(SRC).docbook +$(BOOK).ps: $(BOOK).docbook + docbook2ps -d docbook-utils-a4.dsl#print $(BOOK).docbook +# docbook2ps -d $(STYLESHEET) $(BOOK).docbook -$(SRC).html: $(SRC).docbook - rm -f *.htm *.html -# jade -t sgml -V html-index -d /usr/share/sgml/docbook/dsssl-stylesheets-1.64/html/docbook.dsl $(SRC).docbook +$(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 $(SRC).docbook + docbook2html -d docbook-utils-a4.dsl#html $(BOOK).docbook + +print: $(BOOK).ps + psnup -2 $(BOOK).ps | lpr clean: - rm -f *.htm *.html $(SRC).pdf $(SRC).ps -print: $(SRC).ps - psnup -2 $(SRC).ps | lpr + $(RM) *.htm *.html $(BOOK).pdf $(BOOK).ps