Mercurial > hg > Members > kono > nitros9-code
view 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 source
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 PREFACE = intro.preface CHAPTERS = chap1.chapter chap2.chapter chap3.chapter chap4.chapter STDLIB = atof.refentry fclose.refentry feof.refentry \ findstr.refentry fopen.refentry fread.refentry \ fseek.refentry getc.refentry gets.refentry isalpha.refentry \ l3tol.refentry longjmp.refentry malloc.refentry \ mktemp.refentry printf.refentry putc.refentry puts.refentry \ qsort.refentry scanf.refentry setbuf.refentry sleep.refentry \ strcat.refentry system.refentry toupper.refentry \ ungetc.refentry APPS = asm.appendix basic09.appendix errors.appendix phases.appendix SYSCALL = abort.refentry abs.refentry access.refentry chain.refentry \ chdir.refentry chmod.refentry chown.refentry close.refentry \ crc.refentry creat.refentry defdrive.refentry dup.refentry \ exit.refentry getpid.refentry getstat.refentry \ getuid.refentry intercept.refentry kill.refentry \ lseek.refentry mknod.refentry modload.refentry \ munlink.refentry open.refentry os9fork.refentry \ os9.refentry pause.refentry prerr.refentry read.refentry \ sbrk.refentry setime.refentry setpr.refentry setstat.refentry \ setuid.refentry signal.refentry stacksize.refentry \ strass.refentry tsleep.refentry unlink.refentry \ wait.refentry write.refentry SUPPORT = $(PREFACE) $(CHAPTERS) $(APPS) $(STDLIB) $(SYSCALL) 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 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 $(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 print: $(BOOK).ps psnup -2 $(BOOK).ps | lpr clean: $(RM) *.htm *.html $(BOOK).pdf $(BOOK).ps