blob: 402b3cfbcf8f69ee49d1d6024894d526f7c7831c (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
|
WWW=$(HOME)/www/noweb
SHELL=/bin/sh
.SUFFIXES: .1 .7 .txt .ps
.1.txt: ; nroff -man $*.1 > $*.txt
.1.ps: ; psroff -t -man $*.1 > $*.ps
.7.txt: ; nroff -man $*.7 > $*.txt
.7.ps: ; psroff -t -man $*.7 > $*.ps
MANPAGES=notangle.1 cpif.1 noweb.1 nodefs.1 noroots.1 noindex.1 \
nowebstyle.7 nowebfilters.7 nuweb2noweb.1 sl2h.1 htmltoc.1 \
noroff.1
TXTPAGES=notangle.txt cpif.txt noweb.txt nodefs.txt noroots.txt noindex.txt \
nowebstyle.txt nowebfilters.txt nuweb2noweb.txt sl2h.txt htmltoc.txt \
noroff.txt
SRCS=$(MANPAGES) $(TXTPAGES)
NAME="name of version checked in"
CIMSG="message for version checked in"
RCSFILES=*.nw *.tex Makefile
DOVERSION=./doversion
all: $(SRCS)
source: $(SRCS)
touch: $(SRCS)
touch $(SRCS)
boot:
touch $(SRCS)
www: $(WWW)/onepage.ps $(WWW)/guide.ps $(WWW)/guide.html
checkin:
ci -l $(CINAME) $(CIMSG) $(RCSFILES)
$(WWW)/onepage.ps: onepage.ps
cp onepage.ps $(WWW)
$(WWW)/guide.ps: guide.ps
cp guide.ps $(WWW)
$(WWW)/guide.html: guide.html
cp guide.html $(WWW)
notangle.1: manpage.nw ../shell/noweave.nw docdate.nw
notangle -t8 -Rnotangle.1 manpage.nw ../shell/noweave.nw docdate.nw | $(DOVERSION) > notangle.1
nowebstyle.7: manpage.nw ../tex/support.nw docdate.nw
notangle -t8 -Rnowebstyle.7 manpage.nw ../tex/support.nw docdate.nw | $(DOVERSION) > nowebstyle.7
nowebfilters.7: nowebfilters.nw docdate.nw
notangle -t8 nowebfilters.nw docdate.nw | $(DOVERSION) > nowebfilters.7
noweb.1: manpage.nw docdate.nw
notangle -t8 -Rnoweb.1 manpage.nw docdate.nw | $(DOVERSION) > noweb.1
nodefs.1: nodefs.nw docdate.nw
notangle -t8 nodefs.nw docdate.nw | $(DOVERSION) > nodefs.1
noroots.1: noroots.nw docdate.nw
notangle -t8 noroots.nw docdate.nw | $(DOVERSION) > noroots.1
noindex.1: noindex.nw docdate.nw
notangle -t8 noindex.nw docdate.nw | $(DOVERSION) > noindex.1
sl2h.1: sl2h.nw docdate.nw
notangle -t8 sl2h.nw docdate.nw | $(DOVERSION) > sl2h.1
htmltoc.1: htmltoc.nw docdate.nw
notangle -t8 htmltoc.nw docdate.nw | $(DOVERSION) > htmltoc.1
cpif.1: manpage.nw docdate.nw
notangle -t8 -Rcpif.1 manpage.nw docdate.nw | $(DOVERSION) > cpif.1
nuweb2noweb.1: manpage.nw docdate.nw
notangle -t8 -Rnuweb2noweb.1 manpage.nw docdate.nw | $(DOVERSION) > nuweb2noweb.1
noroff.1: noroff.nw docdate.nw
notangle -t8 noroff.nw docdate.nw | $(DOVERSION) > noroff.1
wc.tex: ../../examples/wc.nw
(cd ../../examples; noweave -n -index wc.nw) > wc.tex
techrep.dvi: techrep.tex wc.tex
latex '\scrollmode \input '"techrep"
while grep -s 'Rerun to get cross-references right' techrep.log; do latex '\scrollmode \input '"techrep"; done
onepage.dvi: onepage.tex
latex '\scrollmode \input '"onepage"
while grep -s 'Rerun to get cross-references right' onepage.log; do latex '\scrollmode \input '"onepage"; done
onepage.ps: onepage.dvi
dvips -P cmz -o onepage.ps onepage
guide.dvi: guide.tex
latex '\scrollmode \input '"guide"
while grep -s 'Rerun to get cross-references right' guide.log; do latex '\scrollmode \input '"guide"; done
guide.ps: guide.dvi
dvips -P cmz -o guide.ps guide
guide.uu: guide.ps
gzip < guide.ps > guide.ps.gz
uuencode guide.ps.gz < guide.ps.gz > guide.uu
guide.html: guide.dvi
sl2h guide.tex | htmltoc > guide.html
clean: ; /bin/rm -f *.dvi *.log *.blg *~ wc.tex *.ps *.gz *.uu *.html
clobber: clean
rm -f *.1 *.7 *.txt
|