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
48
49
50
51
52
53
54
55
56
|
# $Id: Makefile,v 1.2 2001/03/12 17:22:36 harders Exp $
.SUFFIXES: .sty .ins .dtx .dvi .ps
.ins.sty:
latex $<
.dtx.dvi:
latex $<
latex $<
makeindex -s gind.ist $(*D)/$(*F)
makeindex -s gglo.ist -o $(*D)/$(*F).gls $(*D)/$(*F).glo
latex $<
.dvi.ps:
dvips -o $(*D)/$(*F).ps $(*D)/$(*F)
all: onlyamsmath onlyamsmath.dvi onlyamsmath.ps message
onlyamsmathtest.dvi:
latex onlyamsmathtest
onlyamsmath:
latex onlyamsmath.ins
clean:
@-rm -f onlyamsmath.{glo,gls,idx,ilg,ind,aux,log,toc}
@-rm -f onlyamsmathtest.{log,aux}
@-rm -f *~
distclean: clean
@-rm -f onlyamsmath.{sty,dvi,ps}
@-rm -f onlyamsmathtest.{dvi,ps}
tar: all clean
echo Lege onlyamsmath.tar.gz an
-rm -f onlyamsmath.tar.gz
cd ..; tar czf onlyamsmath.tar.gz \
onlyamsmath/README onlyamsmath/Makefile \
onlyamsmath/onlyamsmath.{dtx,ins,dvi} \
onlyamsmath/onlyamsmathtest.tex \
onlyamsmath/onlyamsmath.xml
mv ../onlyamsmath.tar.gz .
message:
@echo "Please copy onlyamsmath.sty to a directory"
@echo "in the LaTeX search path"
@echo "Then run \`latex onlyamsmathtest' to see an example"
|