0
|
1 # Makefile for the edebug manual, and distribution packaging.
|
|
2 #
|
|
3 # March 1994
|
|
4
|
|
5 # The version of edebug.
|
|
6 VERSION = 3.4
|
|
7
|
|
8 # Redefine `TEX' if `tex' does not invoke plain TeX. For example:
|
|
9 # TEX=platex
|
|
10 TEX=tex
|
|
11
|
|
12 # Redefine `DVIPS' if it is not `dvips'. The command line may need
|
|
13 # to be changed anyway.
|
|
14 DVIPS=dvips
|
|
15
|
|
16 FILES = README Makefile edebug.el cust-print.el edebug-history \
|
|
17 eval-region.el \
|
|
18 edebug-test.el \
|
|
19 cl-specs.el cl-read.el edebug-cl-read.el \
|
|
20 edebug.tex edebug.texi
|
|
21
|
|
22 # I include the cl package for now.
|
|
23 CLFILES = cl.el cl-extra.el cl-macs.el cl-seq.el cl-compat.el cl.texinfo
|
|
24
|
|
25 SUBDIR = edebug-${VERSION}
|
|
26
|
|
27 all: edebug.dvi
|
|
28
|
|
29 # First shot to define xrefs and produce permuted index.
|
|
30 edebug.cp: edebug.tex edebug.texi
|
|
31 $(TEX) edebug.tex
|
|
32
|
|
33 edebug.cps: edebug.cp
|
|
34 ./permute-index edebug cp
|
|
35 mv permuted.cps edebug.cps
|
|
36
|
|
37 # Produce the final dvi.
|
|
38 edebug.dvi: edebug.cps
|
|
39 $(TEX) edebug.tex # This modifies edebug.cp again.
|
|
40 touch edebug.cps # This one is OK.
|
|
41
|
|
42 # Produce a postscript file
|
|
43 edebug.ps: edebug.dvi
|
|
44 $(DVIPS) edebug.dvi -o edebug.ps
|
|
45
|
|
46 # Produce edebug.info
|
|
47 edebug.info: edebug.tex edebug.texi
|
|
48 makeinfo edebug.tex
|
|
49
|
|
50 dist edebug.tar.Z: ${FILES}
|
|
51 rm -rf edebug.tar edebug.tar.Z ${SUBDIR}
|
|
52 mkdir ${SUBDIR}
|
|
53 mv ${FILES} ${SUBDIR}
|
|
54 tar chf edebug.tar ${SUBDIR}
|
|
55 mv ${SUBDIR}/* .
|
|
56 compress edebug.tar
|
|
57 rm -r ${SUBDIR}
|
|
58
|
|
59 cl-dist: ${CLFILES}
|
|
60 rm -rf cl.tar cl.tar.Z
|
|
61 tar cf cl.tar ${CLFILES}
|
|
62 compress cl.tar
|
|
63
|
|
64 unpack:
|
|
65 uncompress edebug.tar.Z
|
|
66 tar xf edebug.tar
|
|
67
|
|
68 mostlyclean clean:
|
|
69 rm -f edebug.dvi edebug.log edebug.toc
|
|
70 rm -f edebug.cp edebug.fn edebug.ky edebug.pg edebug.tp edebug.vr
|
|
71 rm -rf edebug.tar edebug.tar.Z ${SUBDIR}
|
|
72
|
|
73 distclean realclean: clean
|
|
74 rm -f edebug.??s edebug.aux # tex files
|
|
75 rm -f *.elc
|