view docs/os9sysprog/makefile @ 2798:b70d93f8d7ce lwtools-port

Updated coco1/modules/makefile and coco3/modules/makefile to help resolve issues with i(x) and s(x) descriptors. Updated level1/coco1/modules/makefile & level2/coco3/modules/makefile so that correct values would be sent to assembler when building superdesc.asm for s(x).dd and i(x).dd descriptors.
author drencor-xeen
date Mon, 28 Jan 2013 16:13:05 -0600
parents bc28c3bc3769
children f2e92661b4c6
line wrap: on
line source

BOOK		= os9sysprog
STYLESHEET	= ../stylesheets/docbook-utils.dsl

all:	$(BOOK).pdf

$(BOOK).pdf: $(BOOK).docbook $(STYLESHEET)
	 docbook2pdf -d "$(STYLESHEET)#print" $(BOOK).docbook

$(BOOK).ps: $(BOOK).docbook $(STYLESHEET)
	 docbook2ps -d "$(STYLESHEET)#print" $(BOOK).docbook

$(BOOK).html: $(BOOK).docbook $(STYLESHEET)
	rm -f *.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 "$(STYLESHEET)#html" $(BOOK).docbook

print:
	psnup -2 $(BOOK).ps | lpr

clean:
	$(RM) *.html $(BOOK).pdf $(BOOK).ps