|
|
1.1 root 1: ##########################################################################
2: # Instructions to Make, for generation of nice-looking slides using SLiTeX
3: ##########################################################################
4:
5: .SUFFIXES: .b .xb .xwd .c .grf .pct .pic .plt .s .web .tex .dvi .imp .ps .ry .py
6:
7: .b.tex:; itbit $<
8:
9: .xb.tex:; xtbit $<
10:
11: .xwd.tex:; xtwd $<
12:
13: .c.tex:; sh -c 'if tgrind -f -lc $< | sed -e 1d -e \$$d > $@; \
14: then exit 0; else rm $@; exit 1; fi'
15:
16: .grf.tex:; sh -c 'if graph < $< | plot -TeX > $@; \
17: then exit 0; else rm $@; exit 1; fi'
18:
19: .pct.pic:; pct2pic $<
20:
21: .pic.tex:; tpic $<
22:
23: .plt.tex:; sh -c 'if plot -TeX < $< > $@; \
24: then exit 0; else rm $@; exit 1; fi'
25:
26: .s.tex:; sh -c 'if tgrind -f -la68k $< | sed -e 1d -e \$$d > $@; \
27: then exit 0; else rm $@; exit 1; fi'
28:
29: .web.tex:; sh -c 'if weave $<; then exit 0; else rm $@; exit 1; fi'
30:
31: .ry.tex:; sh -c 'if tgrind -d grindefs -f -lpepy $< \
32: | sed -e 1d -e \$$d > $@; \
33: then exit 0; else rm $@; exit 1; fi'
34:
35: .py.tex:; sh -c 'if tgrind -d grindefs -f -lpepy $< \
36: | sed -e 1d -e \$$d > $@; \
37: then exit 0; else rm $@; exit 1; fi'
38:
39: .tex.dvi:; sh -c 'if slitex \\nonstopmode\\input $<; \
40: then exit 0; else rm $@; exit 1; fi'
41:
42: .dvi.imp:; dviimp $(DFLAGS) -l -i $@ $<
43:
44: .dvi.ps:; sh -c 'if dvi2ps $(DFLAGS) -o landscape -r $< > $@; \
45: then exit 0; else rm $@; exit 1; fi'
46:
47:
48: #############################################################
49: # Here it is...
50: #############################################################
51:
52: all: pilot.dvi
53:
54: inst-all:;
55:
56: install: inst-all clean
57:
58: lint:;
59:
60: clean:; rm -f pilot.imp pilot.ps pilot.dvi \
61: pilot.log _*
62:
63: grind: pilot.dvi true
64: dvisp $(DFLAGS) -Xl pilot
65:
66: imp: pilot.imp
67:
68: ps: pilot.ps
69:
70: preview: pilot.dvi
71: xdvi -l pilot.dvi
72:
73: true:;
74:
75:
76: pilot.dvi: pilot.tex \
77: figureW-2.tex
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.