annotate lisp/viper/Makefile @ 70:131b0175ea99 r20-0b30

Import from CVS: tag r20-0b30
author cvs
date Mon, 13 Aug 2007 09:02:59 +0200
parents 0293115a14e9
children c7528f8e288d
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
70
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents: 16
diff changeset
10 VERSION = 19.31
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 \
70
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents: 16
diff changeset
29 viper-macs.el viper-keym.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 \
70
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents: 16
diff changeset
31 viper-keym.elc viper.elc
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents: 16
diff changeset
32
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents: 16
diff changeset
33 PRELOADS = -l viper-util.el -l viper-ex.el -l viper-mous.el \
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents: 16
diff changeset
34 -l viper-macs.el -l viper-keym.el -l viper.el
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
35
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
36 all: dvi info hello elc goodbye
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
37
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
38 elc: $(VIPERelc)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
39
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
40 goodbye:
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
41 @echo ""
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 ""
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
44 @echo " The above compiler warnings were normal -- don't panic!"
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 " Please report bugs via the command :submitReport"
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
47 @echo ""
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
48 @echo ""
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
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
51 hello:
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
52 @echo ""
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 "Byte compiling using Emacs 19"
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
55 @echo "Use make EMACS=xemacs to compile under XEmacs"
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 " The following compiler warnings are normal -- don't panic!"
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
59 @echo ""
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
60 @echo ""
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
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
63 viper.dvi: viper.texi viper-cmd.texi
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 @echo ""
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
66 @echo "Making viper.dvi --- a Printable Version of the Viper Manual";
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
67 @echo ""
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
68 $(TeX) viper.texi
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
69 @echo ""
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
70 @echo "Indexing "
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
71 $(TEXINDEX) viper.cp
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
72 $(TEXINDEX) viper.fn
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
73 $(TEXINDEX) viper.ky
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
74 $(TEXINDEX) viper.pg
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
75 # $(TEXINDEX) viper.tp
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
76 $(TEXINDEX) viper.vr
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
77 @echo ""
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
78 @echo "Texing Again";
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
79 $(TeX) viper.texi
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
80
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
81 viper.info: viper.texi viper-cmd.texi
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 @echo ""
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
84 @echo "Making Info Files for the Viper Manual"
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
85 @echo ""
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
86 $(MAKEINFO) viper.texi
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
87
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
88 viperCard.dvi: viperCard.tex
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 @echo ""
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
91 @echo "Making the Viper Reference Card"
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
92 @echo ""
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
93 $(TeX) viperCard.tex
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
94
70
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents: 16
diff changeset
95 viper-util.elc: viper-util.el
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
96 @echo ""
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
97 $(EMACS) -batch -f batch-byte-compile viper-util.el
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
98
70
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents: 16
diff changeset
99 viper-ex.elc: viper-ex.el viper-util.el
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
100 @echo ""
70
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents: 16
diff changeset
101 $(EMACS) -batch $(PRELOADS) -f batch-byte-compile viper-ex.el
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
102
70
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents: 16
diff changeset
103 viper-mous.elc: viper-mous.el viper-util.el
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
104 @echo ""
70
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents: 16
diff changeset
105 $(EMACS) -batch $(PRELOADS) -f batch-byte-compile viper-mous.el
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
106
70
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents: 16
diff changeset
107 viper-macs.elc: viper-macs.el viper-util.el
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
108 @echo ""
70
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents: 16
diff changeset
109 $(EMACS) -batch $(PRELOADS) -f batch-byte-compile viper-macs.el
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
110
70
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents: 16
diff changeset
111 viper-keym.elc: viper-keym.el viper-util.el
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
112 @echo ""
70
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents: 16
diff changeset
113 $(EMACS) -batch $(PRELOADS) -f batch-byte-compile viper-keym.el
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
114
70
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents: 16
diff changeset
115 viper.elc: viper.el viper-util.el
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
116 @echo ""
70
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents: 16
diff changeset
117 $(EMACS) -batch $(PRELOADS) -f batch-byte-compile viper.el
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
118
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
119
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
120 dvi: viper.dvi viperCard.dvi
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
121
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
122 info: viper.info
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
123
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
124 install: all
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
125 $(INSTALL) -m444 $(VIPER) $(LISPDIR)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
126 $(INSTALL) -m644 viper*.elc $(LISPDIR)
70
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents: 16
diff changeset
127 $(INSTALL) -m444 viper.info* $(INFODIR)
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
128 $(INSTALL) -m644 viper.dvi viperCard.dvi $(ETCDIR)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
129 @echo ""
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
130 @echo "Please move viper.texi and viper-cmd.texi to"
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
131 @echo " emacs-distribution-directory/man/"
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
132 @echo ""
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
133
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
134 clean:
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
135 rm -f *.elc *~ core
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
136
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
137 distclean: clean
70
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents: 16
diff changeset
138
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
139 realclean: clean
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
140 rm -f *.dvi viper.info*
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
141 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
142 viper.kys viper.log viper.pg viper.pgs viper.toc viper.tp \
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
143 viper.tps viper.vr viper.vrs