|
|
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: duug.dvi
42:
43: inst-all:;
44:
45: install: inst-all clean
46:
47: lint:;
48:
49: clean:; rm -f duug.imp duug.ps duug.dvi duug.log duug.blg
50:
51: grind: duug.dvi
52: dvisp $(DFLAGS) duug
53:
54: imp: duug.imp
55:
56: preview: duug.dvi
57: xdvi duug.dvi
58:
59: ps: duug.ps
60:
61: true:;
62:
63:
64: #############################################################
65: # duug
66: #############################################################
67:
68:
69: duug.dvi: duug.tex \
70: figure1.tex figure2.tex figure3.tex
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.