comparison 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
comparison
equal deleted inserted replaced
69:804d1389bcd6 70:131b0175ea99
5 # -------- USER MAY NEED TO CHANGE THESE --------------------- 5 # -------- USER MAY NEED TO CHANGE THESE ---------------------
6 # To compile under XEmacs, uncomment XEmacs-specific versions of the 6 # To compile under XEmacs, uncomment XEmacs-specific versions of the
7 # variables VERSION, EMACS, DATADIR and comment out the Emacs-specific 7 # variables VERSION, EMACS, DATADIR and comment out the Emacs-specific
8 # versions. 8 # versions.
9 9
10 VERSION = 19.34 10 VERSION = 19.31
11 EMACS = emacs-$(VERSION) 11 EMACS = emacs-$(VERSION)
12 #VERSION = 19.14 12 #VERSION = 19.14
13 #EMACS = xemacs-$(VERSION) 13 #EMACS = xemacs-$(VERSION)
14 PREFIX = /usr/local 14 PREFIX = /usr/local
15 DATADIR = $(PREFIX)/share 15 DATADIR = $(PREFIX)/share
24 MAKEINFO = makeinfo 24 MAKEINFO = makeinfo
25 INSTALL = install 25 INSTALL = install
26 26
27 # --------- ONLY AUTHORIZED PERSONNEL BEYOND THIS POINT!!! ------------ 27 # --------- ONLY AUTHORIZED PERSONNEL BEYOND THIS POINT!!! ------------
28 VIPER = viper.el viper-util.el viper-mous.el viper-ex.el \ 28 VIPER = viper.el viper-util.el viper-mous.el viper-ex.el \
29 viper-macs.el viper-keym.el viper-init.el 29 viper-macs.el viper-keym.el
30 VIPERelc = viper-util.elc viper-mous.elc viper-ex.elc viper-macs.elc \ 30 VIPERelc = viper-util.elc viper-mous.elc viper-ex.elc viper-macs.elc \
31 viper-keym.elc viper.elc viper-init.elc 31 viper-keym.elc viper.elc
32
33 PRELOADS = -l viper-util.el -l viper-ex.el -l viper-mous.el \
34 -l viper-macs.el -l viper-keym.el -l viper.el
32 35
33 all: dvi info hello elc goodbye 36 all: dvi info hello elc goodbye
34 37
35 elc: $(VIPERelc) 38 elc: $(VIPERelc)
36 39
87 @echo "" 90 @echo ""
88 @echo "Making the Viper Reference Card" 91 @echo "Making the Viper Reference Card"
89 @echo "" 92 @echo ""
90 $(TeX) viperCard.tex 93 $(TeX) viperCard.tex
91 94
92 viper-init.elc: viper-init.el 95 viper-util.elc: viper-util.el
93 @echo ""
94 $(EMACS) -batch -f batch-byte-compile viper-init.el
95
96 viper-util.elc: viper-util.el viper-init.el
97 @echo "" 96 @echo ""
98 $(EMACS) -batch -f batch-byte-compile viper-util.el 97 $(EMACS) -batch -f batch-byte-compile viper-util.el
99 98
100 viper-ex.elc: viper-ex.el viper-util.el viper-init.el 99 viper-ex.elc: viper-ex.el viper-util.el
101 @echo "" 100 @echo ""
102 $(EMACS) -batch -f batch-byte-compile viper-ex.el 101 $(EMACS) -batch $(PRELOADS) -f batch-byte-compile viper-ex.el
103 102
104 viper-mous.elc: viper-mous.el viper-util.el viper-init.el 103 viper-mous.elc: viper-mous.el viper-util.el
105 @echo "" 104 @echo ""
106 $(EMACS) -batch -f batch-byte-compile viper-mous.el 105 $(EMACS) -batch $(PRELOADS) -f batch-byte-compile viper-mous.el
107 106
108 viper-macs.elc: viper-macs.el viper-util.el viper-init.el 107 viper-macs.elc: viper-macs.el viper-util.el
109 @echo "" 108 @echo ""
110 $(EMACS) -batch -f batch-byte-compile viper-macs.el 109 $(EMACS) -batch $(PRELOADS) -f batch-byte-compile viper-macs.el
111 110
112 viper-keym.elc: viper-keym.el viper-util.el viper-init.el 111 viper-keym.elc: viper-keym.el viper-util.el
113 @echo "" 112 @echo ""
114 $(EMACS) -batch -f batch-byte-compile viper-keym.el 113 $(EMACS) -batch $(PRELOADS) -f batch-byte-compile viper-keym.el
115 114
116 viper.elc: viper.el viper-util.el viper-init.el 115 viper.elc: viper.el viper-util.el
117 @echo "" 116 @echo ""
118 $(EMACS) -batch -f batch-byte-compile viper.el 117 $(EMACS) -batch $(PRELOADS) -f batch-byte-compile viper.el
119 118
120 119
121 dvi: viper.dvi viperCard.dvi 120 dvi: viper.dvi viperCard.dvi
122 121
123 info: viper.info 122 info: viper.info
124 123
125 install: all 124 install: all
126 $(INSTALL) -m444 $(VIPER) $(LISPDIR) 125 $(INSTALL) -m444 $(VIPER) $(LISPDIR)
127 $(INSTALL) -m644 viper*.elc $(LISPDIR) 126 $(INSTALL) -m644 viper*.elc $(LISPDIR)
128 $(INSTALL) -m444 viper viper-? $(INFODIR) 127 $(INSTALL) -m444 viper.info* $(INFODIR)
129 $(INSTALL) -m644 viper.dvi viperCard.dvi $(ETCDIR) 128 $(INSTALL) -m644 viper.dvi viperCard.dvi $(ETCDIR)
130 @echo "" 129 @echo ""
131 @echo "Please move viper.texi and viper-cmd.texi to" 130 @echo "Please move viper.texi and viper-cmd.texi to"
132 @echo " emacs-distribution-directory/man/" 131 @echo " emacs-distribution-directory/man/"
133 @echo "" 132 @echo ""
134 133
135 clean: 134 clean:
136 rm -f *.elc *~ core 135 rm -f *.elc *~ core
137 136
138 distclean: clean 137 distclean: clean
139 138
140 realclean: clean 139 realclean: clean
141 rm -f *.dvi viper.info* 140 rm -f *.dvi viper.info*
142 rm -f viper.aux viper.cp viper.cps viper.fn viper.fns viper.ky \ 141 rm -f viper.aux viper.cp viper.cps viper.fn viper.fns viper.ky \
143 viper.kys viper.log viper.pg viper.pgs viper.toc viper.tp \ 142 viper.kys viper.log viper.pg viper.pgs viper.toc viper.tp \
144 viper.tps viper.vr viper.vrs 143 viper.tps viper.vr viper.vrs