|
|
1.1 root 1: #########################################################################
2: # Instructions to Make, for generation of nice-looking papers using LaTeX
3: #########################################################################
4:
5: .SUFFIXES: .xb .xwd .c .grf .pct .pic .plt .s .web .tex .dvi .imp .ps
6:
7: .xb.tex:; xtbit $<
8:
9: .xwd.tex:; xtwd $<
10:
11: .c.tex:; sh -c 'if tgrind -f -lc $< | sed -e 1d -e \$$d > $@; \
12: then exit 0; else rm $@; exit 1; fi'
13:
14: .grf.tex:; sh -c 'if graph < $< | plot -TeX > $@; \
15: then exit 0; else rm $@; exit 1; fi'
16:
17: .pct.pic:; pct2pic $<
18:
19: .pic.tex:; tpic $<
20:
21: .plt.tex:; sh -c 'if plot -TeX < $< > $@; \
22: then exit 0; else rm $@; exit 1; fi'
23:
24: .s.tex:; sh -c 'if tgrind -f -la68k $< | sed -e 1d -e \$$d > $@; \
25: then exit 0; else rm $@; exit 1; fi'
26:
27: .web.tex:; sh -c 'if weave $<; then exit 0; else rm $@; exit 1; fi'
28:
29: .tex.dvi:; sh -c 'if latex \\nonstopmode\\input $<; \
30: then exit 0; else rm $@; exit 1; fi'
31:
32: .dvi.imp:; dviimp $(DFLAGS) -i $@ $<
33:
34: .dvi.ps:; sh -c 'if dvi2ps $(DFLAGS) -r -b $* -z 10 $<; \
35: then exit 0; else rm $@; exit 1; fi'
36:
37:
38: #############################################################
39: # Here it is...
40: #############################################################
41:
42: all: user.dvi quick.dvi
43:
44: inst-all:;
45:
46: install: inst-all clean
47:
48: lint:;
49:
50: clean:; rm -f user.imp user*.ps user.dvi user.log \
51: quick.imp quick*.ps quick.dvi quick.log _*
52:
53: grind: user.dvi quick.dvi true
54: dvisp $(DFLAGS) user quick
55:
56: imp: user.imp quick.imp
57:
58: preview: user.dvi quick.dvi true
59: xdvi user.dvi
60: xdvi quick.dvi
61:
62: ps: user.ps quick.ps
63:
64: true:;
65:
66:
67: #############################################################
68: # user
69: #############################################################
70:
71: user.dvi: user.vrsn
72:
73: user.vrsn: user.tex \
74: introduction.tex \
75: dir-intro.tex \
76: wp-intro.tex \
77: fred.tex \
78: dish.tex \
79: others.tex \
80: attributes.tex \
81: version.sh
82: @version.sh user
83:
84: biblio:;
85:
86: index:;
87:
88:
89: #############################################################
90: # quick
91: #############################################################
92:
93: quick.dvi: quick.tex
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.