|
|
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 $< > $@; \
35: then exit 0; else rm $@; exit 1; fi'
36:
37:
38: #############################################################
39: # Here it is...
40: #############################################################
41:
42: all: i-all
43: print: i-print
44:
45:
46: #############################################################
47: # snmp
48: #############################################################
49:
50: i-all: snmp.dvi
51:
52: i-print: snmp.dvi true
53: dvisp $(DFLAGS) snmp
54:
55:
56: # customization files, et. al., not included below
57: snmp.dvi: snmp.tex
58:
59: biblio:;
60:
61: preview: snmp.dvi true
62: xdvi snmp.dvi
63:
64: index:;
65:
66: ps: snmp.ps
67:
68: clean:; rm -f snmp.imp snmp.ps snmp.dvi snmp.log \
69: snmp.blg _*
70:
71: true:;
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.