blob: e7f661fce1fa066670ca6fe9b8b8758dce0d17f2 (
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
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
|
#=======================================================================
# Makefile for files in ~beebe/tex/talks/filehdr
#
# [30-Aug-1993]
#=======================================================================
COMPRESS = compress
CP = /bin/cp -p
CPP = /lib/cpp -P
BIBTEX = bibtex
DETEX = detex -n
DIST-FILES = Makefile filehdr.bbl filehdr.bib filehdr.dvi filehdr.el \
filehdr.info filehdr.ltx filehdr.sok makeinfo rcs.sty
DVIALW = dvialw -back
FTPDIR = /u/ftp/pub/tex/bib
INDEX-FILES = filehdr.cp filehdr.fn filehdr.pg filehdr.tp filehdr.vr
ISPELL = ispell
LATEX = latex
LN = ln -s
MAKEINDEX = makeindex
MV = /bin/mv
PSVIEW = gs -g700x1000+2+2
RM = /bin/rm -f
SED = /bin/sed
SHELL = /bin/sh
SPELL = spell
TEXINDEX = texindex
UNZIP = unzip
VERSION = `nawk '/^;;; *version * = / \
{ gsub(/[^0-9.]/,"",$$4); print $$4 }' filehdr.el`
ZIP = zip
ZOO = zoo
#=======================================================================
.SUFFIXES:
.SUFFIXES: .dvi-alw .dvi .ltx
.ltx.dvi:
$(LATEX) $<
.dvi.dvi-alw:
$(DVIALW) $<
# $(PSVIEW) $*.dvi-alw quit.ps
#=======================================================================
all: filehdr.dvi filehdr.info
clean:
-$(RM) *.blg
-$(RM) *.cps
-$(RM) *.dvi
-$(RM) *.dvi-alw
-$(RM) *.fns
-$(RM) *.ilg
-$(RM) *.isp
-$(RM) *.kys
-$(RM) *.log
-$(RM) *.o
-$(RM) *.pgs
-$(RM) *.spl
-$(RM) *.tar
-$(RM) *.tar-lst
-$(RM) *.tps
-$(RM) *.vrs
-$(RM) *.zip
-$(RM) *.zip-lst
-$(RM) *.zoo
-$(RM) *.zoo-lst
-$(RM) *~
-$(RM) \#*
-$(RM) core
clobber: clean
-$(RM) *.aux
-$(RM) *.bbl
-$(RM) *.cp
-$(RM) *.elc
-$(RM) *.fn
-$(RM) *.info
-$(RM) *.ky
-$(RM) *.lof
-$(RM) *.lot
-$(RM) *.pg
-$(RM) *.toc
-$(RM) *.tp
-$(RM) *.vr
# Comment out the command line here if you don't have the doubled-word
# utility installed. It is available via anonymous ftp from
# ftp.math.utah.edu in pub/misc.
dw:
-$(DETEX) <filehdr.ltx | dw
# LaTeXinfo doesn't define ties, so we need to remove them from the
# bibliography
filehdr.bbl: filehdr.aux filehdr.bib
$(BIBTEX) filehdr
$(MV) filehdr.bbl /tmp/filehdr.bbl
$(SED) -e 's/~/ /g' </tmp/filehdr.bbl >filehdr.bbl
filehdr.dvi: filehdr.ltx filehdr.bib
-$(MAKE) dw filehdr.spl filehdr.isp
$(LATEX) filehdr.ltx
$(MAKE) filehdr.bbl
$(TEXINDEX) $(INDEX-FILES)
$(LATEX) filehdr.ltx
$(TEXINDEX) $(INDEX-FILES)
$(LATEX) filehdr.ltx
filehdr.info: filehdr.ltx
./makeinfo filehdr.ltx
filehdr.tar: $(DIST-FILES)
-$(RM) filehdr.tar filehdr.tar-lst
tar chf filehdr.tar $(DIST-FILES)
-mkdir filehdr-$(VERSION)
cd filehdr-$(VERSION); tar xf ../filehdr.tar
tar cf filehdr-$(VERSION).tar filehdr-$(VERSION)
-$(RM) -r filehdr-$(VERSION)
-$(RM) filehdr.tar
$(LN) filehdr-$(VERSION).tar filehdr.tar
filehdr.zip: $(DIST-FILES)
-$(RM) filehdr*.zip
-$(RM) filehdr*.zip-lst
$(ZIP) filehdr-$(VERSION).zip $(DIST-FILES)
$(UNZIP) -v filehdr-$(VERSION).zip >filehdr-$(VERSION).zip-lst
$(LN) filehdr-$(VERSION).zip filehdr.zip
filehdr.zoo: $(DIST-FILES)
-$(RM) filehdr*.zoo
-$(RM) filehdr*.zoo-lst
$(ZOO) a filehdr-$(VERSION).zoo $(DIST-FILES)
$(ZOO) v filehdr-$(VERSION).zoo >filehdr-$(VERSION).zoo-lst
$(LN) filehdr-$(VERSION).zoo filehdr.zoo
install: DATE-INSTALLED
DATE-INSTALLED: filehdr.tar filehdr.zip filehdr.zoo
tar tvf filehdr-$(VERSION).tar >$(FTPDIR)/filehdr-$(VERSION).tar-lst
$(COMPRESS) <filehdr-$(VERSION).tar >$(FTPDIR)/filehdr-$(VERSION).tar.z
$(CP) filehdr-$(VERSION).zip $(FTPDIR)
$(CP) filehdr-$(VERSION).zip-lst $(FTPDIR)
$(CP) filehdr-$(VERSION).zoo $(FTPDIR)
$(CP) filehdr-$(VERSION).zoo-lst $(FTPDIR)
$(CP) filehdr.el $(FTPDIR)
ls -l $(FTPDIR)/file*
date >DATE-INSTALLED
filehdr.spl spell:
-$(DETEX) <filehdr.ltx | $(SPELL) +filehdr.sok >filehdr.spl
@/bin/cat filehdr.spl
filehdr.isp ispell:
-$(DETEX) <filehdr.ltx | $(ISPELL) -l -p filehdr.sok >filehdr.isp
@/bin/cat filehdr.isp
|