Mercurial > hg > Members > kono > nitros9-code
annotate docs/os9sysprog/makefile @ 2988:ff1866e1d1a4
3rdparty/utils: Add labels to disk images
author | Tormod Volden <debian.tormod@gmail.com> |
---|---|
date | Sat, 12 Apr 2014 23:11:17 +0200 |
parents | f2e92661b4c6 |
children |
rev | line source |
---|---|
515 | 1 BOOK = os9sysprog |
1148 | 2 STYLESHEET = ../stylesheets/docbook-utils.dsl |
19
2caf0658040d
This is the first cut of the OS-9 Operating System: System Programmer's Manual
roug
parents:
diff
changeset
|
3 |
515 | 4 all: $(BOOK).pdf |
20 | 5 |
515 | 6 $(BOOK).pdf: $(BOOK).docbook $(STYLESHEET) |
1148 | 7 docbook2pdf -d "$(STYLESHEET)#print" $(BOOK).docbook |
19
2caf0658040d
This is the first cut of the OS-9 Operating System: System Programmer's Manual
roug
parents:
diff
changeset
|
8 |
515 | 9 $(BOOK).ps: $(BOOK).docbook $(STYLESHEET) |
1148 | 10 docbook2ps -d "$(STYLESHEET)#print" $(BOOK).docbook |
19
2caf0658040d
This is the first cut of the OS-9 Operating System: System Programmer's Manual
roug
parents:
diff
changeset
|
11 |
515 | 12 $(BOOK).html: $(BOOK).docbook $(STYLESHEET) |
2852
f2e92661b4c6
Makefiles: Always use macro for lwar and rm
Tormod Volden <debian.tormod@gmail.com>
parents:
1148
diff
changeset
|
13 $(RM) *.html |
515 | 14 # jade -t sgml -V html-index -d /usr/share/sgml/docbook/dsssl-stylesheets-1.64/html/docbook.dsl $(BOOK).docbook |
19
2caf0658040d
This is the first cut of the OS-9 Operating System: System Programmer's Manual
roug
parents:
diff
changeset
|
15 # collateindex.pl -p -o index.docbook HTML.index |
1148 | 16 docbook2html -d "$(STYLESHEET)#html" $(BOOK).docbook |
19
2caf0658040d
This is the first cut of the OS-9 Operating System: System Programmer's Manual
roug
parents:
diff
changeset
|
17 |
2caf0658040d
This is the first cut of the OS-9 Operating System: System Programmer's Manual
roug
parents:
diff
changeset
|
18 print: |
515 | 19 psnup -2 $(BOOK).ps | lpr |
20 | |
21 clean: | |
1148 | 22 $(RM) *.html $(BOOK).pdf $(BOOK).ps |