diff docs/os9sysprog/makefile @ 40:3cf41d86d998

Finished I/O service requests and appendix C
author roug
date Wed, 17 Apr 2002 17:59:43 +0000
parents 364868eddbc7
children d6fa13b66b87
line wrap: on
line diff
--- a/docs/os9sysprog/makefile	Tue Apr 16 20:12:52 2002 +0000
+++ b/docs/os9sysprog/makefile	Wed Apr 17 17:59:43 2002 +0000
@@ -1,19 +1,21 @@
 SRC=os9sysprog
+#STYLESHEET=
 STYLESHEET=docbook-utils.dsl
 
-all: book1.htm
+all: $(SRC).html
 
 $(SRC).pdf: $(SRC).docbook $(STYLESHEET)
 	 docbook2pdf -d $(STYLESHEET) $(SRC).docbook
 
 $(SRC).ps: $(SRC).docbook $(STYLESHEET)
-	 docbook2ps -d $(STYLESHEET) $(SRC).docbook
+	 docbook2ps $(SRC).docbook
+#	 docbook2ps -d $(STYLESHEET) $(SRC).docbook
 
-book1.htm: $(SRC).docbook $(STYLESHEET)
+$(SRC).html: $(SRC).docbook $(STYLESHEET)
 	rm -f *.htm *.html
 #	jade -t sgml -V html-index -d /usr/share/sgml/docbook/dsssl-stylesheets-1.64/html/docbook.dsl $(SRC).docbook
 #	collateindex.pl -p -o index.docbook HTML.index
-	docbook2html -d $(STYLESHEET) $(SRC).docbook
+	docbook2html $(SRC).docbook
 
 print:
 	psnup -2 $(SRC).ps | lpr