view docs/nitros9guide/makefile @ 1500:b00cf13c9f61

Major changes for new NitrOS-9 manual
author boisy
date Mon, 05 Jan 2004 00:51:19 +0000
parents bc28c3bc3769
children
line wrap: on
line source

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

all:	$(BOOK).pdf #$(BOOK).html $(BOOK).ps

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

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

$(BOOK).html: $(BOOK).docbook $(SRCS)
	$(RM) *.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: $(BOOK).ps
	psnup -2 $(BOOK).ps | lpr

clean:
	$(RM) *.html $(BOOK).pdf $(BOOK).pdf \
	      $(BOOK).ps *.log *.out *.aux

SRCS          = $(CHAPS) $(APXS) $(REFS)
CHAPS         = intro.preface \
                chap1.chapter chap2.chapter chap3.chapter chap4.chapter \
                chap5.chapter chap6.chapter chap7.chapter
APXS          = acia51.appendix display.appendix errorcodes.appendix keys.appendix
REFS          = asm.refentry \
                attr.refentry \
                backup.refentry \
                binex.refentry \
                build.refentry \
                chd.refentry \
                cmp.refentry \
                cobbler.refentry \
                config.refentry \
                copy.refentry \
                date.refentry \
                dcheck.refentry \
                debug.refentry \
                deiniz.refentry \
                deldir.refentry \
                del.refentry \
                dir.refentry \
                display.refentry \
                dsave.refentry \
                dump.refentry \
                echo.refentry \
                error.refentry \
                ex.refentry \
                format.refentry \
                free.refentry \
                go51.appendix \
                go51.refentry \
                help.refentry \
                ident.refentry \
                iniz.refentry \
                kill.refentry \
                link.refentry \
                list.refentry \
                load.refentry \
                login.refentry \
                makdir.refentry \
                mdir.refentry \
                merge.refentry \
                mfree.refentry \
                os9gen.refentry \
                park.refentry \
                printerr.refentry \
                procs.refentry \
                pwd.refentry \
                rename.refentry \
                save.refentry \
                setime.refentry \
                setpr.refentry \
                shell.refentry \
                sleep.refentry \
                tee.refentry \
                tmode.refentry \
                tsmon.refentry \
                tuneport.refentry \
                unlink.refentry \
                verify.refentry \
                xmode.refentry