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
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
515
87fe15316ccc Sprused up Makefiles
boisy
parents: 41
diff changeset
1 BOOK = os9sysprog
1148
bc28c3bc3769 Put all stylesheets in one central location
roug
parents: 526
diff changeset
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
87fe15316ccc Sprused up Makefiles
boisy
parents: 41
diff changeset
4 all: $(BOOK).pdf
20
364868eddbc7 Changed literallayout to tables a few places
roug
parents: 19
diff changeset
5
515
87fe15316ccc Sprused up Makefiles
boisy
parents: 41
diff changeset
6 $(BOOK).pdf: $(BOOK).docbook $(STYLESHEET)
1148
bc28c3bc3769 Put all stylesheets in one central location
roug
parents: 526
diff changeset
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
87fe15316ccc Sprused up Makefiles
boisy
parents: 41
diff changeset
9 $(BOOK).ps: $(BOOK).docbook $(STYLESHEET)
1148
bc28c3bc3769 Put all stylesheets in one central location
roug
parents: 526
diff changeset
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
87fe15316ccc Sprused up Makefiles
boisy
parents: 41
diff changeset
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
87fe15316ccc Sprused up Makefiles
boisy
parents: 41
diff changeset
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
bc28c3bc3769 Put all stylesheets in one central location
roug
parents: 526
diff changeset
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
87fe15316ccc Sprused up Makefiles
boisy
parents: 41
diff changeset
19 psnup -2 $(BOOK).ps | lpr
87fe15316ccc Sprused up Makefiles
boisy
parents: 41
diff changeset
20
87fe15316ccc Sprused up Makefiles
boisy
parents: 41
diff changeset
21 clean:
1148
bc28c3bc3769 Put all stylesheets in one central location
roug
parents: 526
diff changeset
22 $(RM) *.html $(BOOK).pdf $(BOOK).ps