blob: 2177ced7243cb20e4d23bd984db28afd28778e71 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
|
# schemeTeX Makefile @(#)Makefile 1.3 88/06/30.
CMDS = st schemeTeX
DOCS = st.dvi reader.dvi
TEXSTY = astyped.sty
DEST = $(HOME)/bin
TEXDEST = $(HOME)/inputs
# Generic rules
.SUFFIXES: .dvi .tex .st
.st.dvi:
make $*.tex && make $*.dvi
.st.tex:
st $*
.tex.dvi:
latex $*
# Generic commands.
all: $(CMDS)
doc: $(DOCS) $(CMDS)
install: $(CMDS) $(TEXSTY)
mv $(CMDS) $(DEST)
cp $(TEXSTY) $(TEXDEST)
clean:
-rm $(CMDS)
# Specific commands.
schemeTeX: schemeTeX.l
lex -t $? > schemeTeX.c
cc -O -o $@ schemeTeX.c -ll
rm schemeTeX.c
st: st.sh
cp $? $@
chmod +x $@
|