annotate lisp/viper/Makefile @ 82:6a378aca36af r20-0b91

Import from CVS: tag r20-0b91
author cvs
date Mon, 13 Aug 2007 09:07:36 +0200
parents 1ce6082ce73f
children 0132846995bd
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1 #
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2 # Makefile for compiling and installing Viper
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3 #
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
4
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
5 # -------- USER MAY NEED TO CHANGE THESE ---------------------
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
6 # To compile under XEmacs, uncomment XEmacs-specific versions of the
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
7 # variables VERSION, EMACS, DATADIR and comment out the Emacs-specific
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
8 # versions.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
9
78
c7528f8e288d Import from CVS: tag r20-0b34
cvs
parents: 70
diff changeset
10 VERSION = 19.34
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
11 EMACS = emacs-$(VERSION)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
12 #VERSION = 19.14
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
13 #EMACS = xemacs-$(VERSION)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
14 PREFIX = /usr/local
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
15 DATADIR = $(PREFIX)/share
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
16 #DATADIR = $(PREFIX)/lib
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
17 LISPDIR = $(DATADIR)/emacs/site-lisp
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
18 INFODIR = $(PREFIX)/info
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
19 ETCDIR = $(DATADIR)/emacs/$(VERSION)/etc
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
20
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
21 # --------- YOU PROBABLY DON'T WANT TO CHANGE THESE ----------------
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
22 TeX = tex
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
23 TEXINDEX = texindex
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
24 MAKEINFO = makeinfo
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
25 INSTALL = install
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
26
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
27 # --------- ONLY AUTHORIZED PERSONNEL BEYOND THIS POINT!!! ------------
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
28 VIPER = viper.el viper-util.el viper-mous.el viper-ex.el \
82
6a378aca36af Import from CVS: tag r20-0b91
cvs
parents: 80
diff changeset
29 viper-macs.el viper-keym.el viper-init.el
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
30 VIPERelc = viper-util.elc viper-mous.elc viper-ex.elc viper-macs.elc \
82
6a378aca36af Import from CVS: tag r20-0b91
cvs
parents: 80
diff changeset
31 viper-keym.elc viper.elc viper-init.elc
70
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents: 16
diff changeset
32
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
33 all: dvi info hello elc goodbye
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
34
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
35 elc: $(VIPERelc)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
36
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
37 goodbye:
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
38 @echo ""
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
39 @echo ""
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
40 @echo ""
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
41 @echo " The above compiler warnings were normal -- don't panic!"
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
42 @echo ""
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
43 @echo " Please report bugs via the command :submitReport"
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
44 @echo ""
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
45 @echo ""
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
46 @echo ""
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
47
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
48 hello:
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
49 @echo ""
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
50 @echo ""
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
51 @echo "Byte compiling using Emacs 19"
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
52 @echo "Use make EMACS=xemacs to compile under XEmacs"
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
53 @echo ""
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
54 @echo ""
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
55 @echo " The following compiler warnings are normal -- don't panic!"
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
56 @echo ""
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
57 @echo ""
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
58 @echo ""
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
59
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
60 viper.dvi: viper.texi viper-cmd.texi
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
61 @echo ""
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
62 @echo ""
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
63 @echo "Making viper.dvi --- a Printable Version of the Viper Manual";
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
64 @echo ""
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
65 $(TeX) viper.texi
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
66 @echo ""
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
67 @echo "Indexing "
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
68 $(TEXINDEX) viper.cp
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
69 $(TEXINDEX) viper.fn
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
70 $(TEXINDEX) viper.ky
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
71 $(TEXINDEX) viper.pg
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
72 # $(TEXINDEX) viper.tp
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
73 $(TEXINDEX) viper.vr
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
74 @echo ""
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
75 @echo "Texing Again";
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
76 $(TeX) viper.texi
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
77
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
78 viper.info: viper.texi viper-cmd.texi
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
79 @echo ""
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
80 @echo ""
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
81 @echo "Making Info Files for the Viper Manual"
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
82 @echo ""
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
83 $(MAKEINFO) viper.texi
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
84
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
85 viperCard.dvi: viperCard.tex
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
86 @echo ""
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
87 @echo ""
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
88 @echo "Making the Viper Reference Card"
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
89 @echo ""
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
90 $(TeX) viperCard.tex
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
91
82
6a378aca36af Import from CVS: tag r20-0b91
cvs
parents: 80
diff changeset
92 viper-init.elc: viper-init.el
6a378aca36af Import from CVS: tag r20-0b91
cvs
parents: 80
diff changeset
93 @echo ""
6a378aca36af Import from CVS: tag r20-0b91
cvs
parents: 80
diff changeset
94 $(EMACS) -batch -f batch-byte-compile viper-init.el
6a378aca36af Import from CVS: tag r20-0b91
cvs
parents: 80
diff changeset
95
6a378aca36af Import from CVS: tag r20-0b91
cvs
parents: 80
diff changeset
96 viper-util.elc: viper-util.el viper-init.el
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
97 @echo ""
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
98 $(EMACS) -batch -f batch-byte-compile viper-util.el
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
99
82
6a378aca36af Import from CVS: tag r20-0b91
cvs
parents: 80
diff changeset
100 viper-ex.elc: viper-ex.el viper-util.el viper-init.el
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
101 @echo ""
80
1ce6082ce73f Import from CVS: tag r20-0b90
cvs
parents: 78
diff changeset
102 $(EMACS) -batch -f batch-byte-compile viper-ex.el
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
103
82
6a378aca36af Import from CVS: tag r20-0b91
cvs
parents: 80
diff changeset
104 viper-mous.elc: viper-mous.el viper-util.el viper-init.el
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
105 @echo ""
80
1ce6082ce73f Import from CVS: tag r20-0b90
cvs
parents: 78
diff changeset
106 $(EMACS) -batch -f batch-byte-compile viper-mous.el
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
107
82
6a378aca36af Import from CVS: tag r20-0b91
cvs
parents: 80
diff changeset
108 viper-macs.elc: viper-macs.el viper-util.el viper-init.el
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
109 @echo ""
80
1ce6082ce73f Import from CVS: tag r20-0b90
cvs
parents: 78
diff changeset
110 $(EMACS) -batch -f batch-byte-compile viper-macs.el
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
111
82
6a378aca36af Import from CVS: tag r20-0b91
cvs
parents: 80
diff changeset
112 viper-keym.elc: viper-keym.el viper-util.el viper-init.el
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
113 @echo ""
80
1ce6082ce73f Import from CVS: tag r20-0b90
cvs
parents: 78
diff changeset
114 $(EMACS) -batch -f batch-byte-compile viper-keym.el
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
115
82
6a378aca36af Import from CVS: tag r20-0b91
cvs
parents: 80
diff changeset
116 viper.elc: viper.el viper-util.el viper-init.el
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
117 @echo ""
80
1ce6082ce73f Import from CVS: tag r20-0b90
cvs
parents: 78
diff changeset
118 $(EMACS) -batch -f batch-byte-compile viper.el
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
119
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
120
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
121 dvi: viper.dvi viperCard.dvi
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
122
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
123 info: viper.info
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
124
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
125 install: all
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
126 $(INSTALL) -m444 $(VIPER) $(LISPDIR)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
127 $(INSTALL) -m644 viper*.elc $(LISPDIR)
78
c7528f8e288d Import from CVS: tag r20-0b34
cvs
parents: 70
diff changeset
128 $(INSTALL) -m444 viper viper-? $(INFODIR)
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
129 $(INSTALL) -m644 viper.dvi viperCard.dvi $(ETCDIR)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
130 @echo ""
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
131 @echo "Please move viper.texi and viper-cmd.texi to"
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
132 @echo " emacs-distribution-directory/man/"
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
133 @echo ""
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
134
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
135 clean:
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
136 rm -f *.elc *~ core
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
137
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
138 distclean: clean
80
1ce6082ce73f Import from CVS: tag r20-0b90
cvs
parents: 78
diff changeset
139
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
140 realclean: clean
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
141 rm -f *.dvi viper.info*
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
142 rm -f viper.aux viper.cp viper.cps viper.fn viper.fns viper.ky \
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
143 viper.kys viper.log viper.pg viper.pgs viper.toc viper.tp \
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
144 viper.tps viper.vr viper.vrs