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