annotate docs/ccguide/makefile @ 468:60b821f18853

A little here and there.
author roug
date Thu, 03 Oct 2002 21:39:06 +0000
parents bea58398bb15
children 87fe15316ccc
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
466
bea58398bb15 Skeletons for the C Compiler User's Guide, 1983
roug
parents:
diff changeset
1 SRC=ccguide
bea58398bb15 Skeletons for the C Compiler User's Guide, 1983
roug
parents:
diff changeset
2 STYLESHEET=docbook-utils.dsl
bea58398bb15 Skeletons for the C Compiler User's Guide, 1983
roug
parents:
diff changeset
3
bea58398bb15 Skeletons for the C Compiler User's Guide, 1983
roug
parents:
diff changeset
4 PREFACE=intro.preface
bea58398bb15 Skeletons for the C Compiler User's Guide, 1983
roug
parents:
diff changeset
5 CHAPTERS=chap1.chapter chap2.chapter chap3.chapter chap4.chapter
bea58398bb15 Skeletons for the C Compiler User's Guide, 1983
roug
parents:
diff changeset
6 STDLIB= atof.refentry fflush.refentry feof.refentry findstr.refentry \
bea58398bb15 Skeletons for the C Compiler User's Guide, 1983
roug
parents:
diff changeset
7 fopen.refentry fread.refentry fseek.refentry getc.refentry \
bea58398bb15 Skeletons for the C Compiler User's Guide, 1983
roug
parents:
diff changeset
8 gets.refentry isalpha.refentry l3tol.refentry longjmp.refentry \
468
60b821f18853 A little here and there.
roug
parents: 466
diff changeset
9 malloc.refentry mktemp.refentry printf.refentry putc.refentry \
60b821f18853 A little here and there.
roug
parents: 466
diff changeset
10 puts.refentry qsort.refentry scanf.refentry setbuf.refentry sleep.refentry \
466
bea58398bb15 Skeletons for the C Compiler User's Guide, 1983
roug
parents:
diff changeset
11 strcat.refentry system.refentry toupper.refentry ungetc.refentry
bea58398bb15 Skeletons for the C Compiler User's Guide, 1983
roug
parents:
diff changeset
12
bea58398bb15 Skeletons for the C Compiler User's Guide, 1983
roug
parents:
diff changeset
13 APPS=asm.appendix basic09.appendix errors.appendix phases.appendix
bea58398bb15 Skeletons for the C Compiler User's Guide, 1983
roug
parents:
diff changeset
14
bea58398bb15 Skeletons for the C Compiler User's Guide, 1983
roug
parents:
diff changeset
15 SYSCALL= abort.refentry abs.refentry access.refentry chain.refentry \
bea58398bb15 Skeletons for the C Compiler User's Guide, 1983
roug
parents:
diff changeset
16 chdir.refentry chmod.refentry chown.refentry close.refentry \
bea58398bb15 Skeletons for the C Compiler User's Guide, 1983
roug
parents:
diff changeset
17 crc.refentry creat.refentry defdrive.refentry dup.refentry \
bea58398bb15 Skeletons for the C Compiler User's Guide, 1983
roug
parents:
diff changeset
18 exit.refentry getpid.refentry getstat.refentry getuid.refentry \
bea58398bb15 Skeletons for the C Compiler User's Guide, 1983
roug
parents:
diff changeset
19 intercept.refentry kill.refentry lseek.refentry mknod.refentry \
bea58398bb15 Skeletons for the C Compiler User's Guide, 1983
roug
parents:
diff changeset
20 modload.refentry munlink.refentry open.refentry os9fork.refentry \
468
60b821f18853 A little here and there.
roug
parents: 466
diff changeset
21 os9.refentry pause.refentry prerr.refentry read.refentry \
60b821f18853 A little here and there.
roug
parents: 466
diff changeset
22 sbrk.refentry setime.refentry setpr.refentry setstat.refentry \
60b821f18853 A little here and there.
roug
parents: 466
diff changeset
23 setuid.refentry signal.refentry stacksize.refentry strass.refentry \
60b821f18853 A little here and there.
roug
parents: 466
diff changeset
24 tsleep.refentry unlink.refentry wait.refentry write.refentry
466
bea58398bb15 Skeletons for the C Compiler User's Guide, 1983
roug
parents:
diff changeset
25
bea58398bb15 Skeletons for the C Compiler User's Guide, 1983
roug
parents:
diff changeset
26 SUPPORT=$(PREFACE) $(CHAPTERS) $(APPS) $(STDLIB) $(SYSCALL)
bea58398bb15 Skeletons for the C Compiler User's Guide, 1983
roug
parents:
diff changeset
27
bea58398bb15 Skeletons for the C Compiler User's Guide, 1983
roug
parents:
diff changeset
28 all: $(SRC).pdf
bea58398bb15 Skeletons for the C Compiler User's Guide, 1983
roug
parents:
diff changeset
29
bea58398bb15 Skeletons for the C Compiler User's Guide, 1983
roug
parents:
diff changeset
30 $(SRC).pdf: $(SRC).docbook $(SUPPORT)
bea58398bb15 Skeletons for the C Compiler User's Guide, 1983
roug
parents:
diff changeset
31 docbook2pdf -d docbook-utils-a4.dsl#print $(SRC).docbook
bea58398bb15 Skeletons for the C Compiler User's Guide, 1983
roug
parents:
diff changeset
32
bea58398bb15 Skeletons for the C Compiler User's Guide, 1983
roug
parents:
diff changeset
33 $(SRC).ps: $(SRC).docbook
bea58398bb15 Skeletons for the C Compiler User's Guide, 1983
roug
parents:
diff changeset
34 docbook2ps -d docbook-utils-a4.dsl#print $(SRC).docbook
bea58398bb15 Skeletons for the C Compiler User's Guide, 1983
roug
parents:
diff changeset
35 # docbook2ps -d $(STYLESHEET) $(SRC).docbook
bea58398bb15 Skeletons for the C Compiler User's Guide, 1983
roug
parents:
diff changeset
36
bea58398bb15 Skeletons for the C Compiler User's Guide, 1983
roug
parents:
diff changeset
37 $(SRC).html: $(SRC).docbook
bea58398bb15 Skeletons for the C Compiler User's Guide, 1983
roug
parents:
diff changeset
38 rm -f *.htm *.html
bea58398bb15 Skeletons for the C Compiler User's Guide, 1983
roug
parents:
diff changeset
39 # jade -t sgml -V html-index -d /usr/share/sgml/docbook/dsssl-stylesheets-1.64/html/docbook.dsl $(SRC).docbook
bea58398bb15 Skeletons for the C Compiler User's Guide, 1983
roug
parents:
diff changeset
40 # collateindex.pl -p -o index.docbook HTML.index
bea58398bb15 Skeletons for the C Compiler User's Guide, 1983
roug
parents:
diff changeset
41 docbook2html -d docbook-utils-a4.dsl#html $(SRC).docbook
bea58398bb15 Skeletons for the C Compiler User's Guide, 1983
roug
parents:
diff changeset
42
bea58398bb15 Skeletons for the C Compiler User's Guide, 1983
roug
parents:
diff changeset
43 clean:
bea58398bb15 Skeletons for the C Compiler User's Guide, 1983
roug
parents:
diff changeset
44 rm -f *.htm *.html $(SRC).pdf $(SRC).ps
bea58398bb15 Skeletons for the C Compiler User's Guide, 1983
roug
parents:
diff changeset
45 print: $(SRC).ps
bea58398bb15 Skeletons for the C Compiler User's Guide, 1983
roug
parents:
diff changeset
46 psnup -2 $(SRC).ps | lpr