comparison Makefile.in @ 7032:2c8a6d503e76

(.PHONY, install): Kill reference to obsolete do-install. (install-arch-dep): Install under the name $(EMACS).
author Karl Heuer <kwzh@gnu.org>
date Sat, 23 Apr 1994 01:07:04 +0000
parents f3e2a4344ed6
children f1b6a927a442
comparison
equal deleted inserted replaced
7031:adbebd010e43 7032:2c8a6d503e76
174 INSTALL_PROGRAM = @INSTALL_PROGRAM@ 174 INSTALL_PROGRAM = @INSTALL_PROGRAM@
175 INSTALL_DATA = @INSTALL_DATA@ 175 INSTALL_DATA = @INSTALL_DATA@
176 176
177 # ============================= Targets ============================== 177 # ============================= Targets ==============================
178 178
179 # What emacs should be called when installed.
180 EMACS = emacs
181
179 # Subdirectories to make recursively. `lisp' is not included 182 # Subdirectories to make recursively. `lisp' is not included
180 # because the compiled lisp files are part of the distribution 183 # because the compiled lisp files are part of the distribution
181 # and you cannot remake them without installing Emacs first. 184 # and you cannot remake them without installing Emacs first.
182 SUBDIR = lib-src src 185 SUBDIR = lib-src src
183 186
248 ## this Makefile as well. 251 ## this Makefile as well.
249 252
250 ## On AIX, use tar xBf. 253 ## On AIX, use tar xBf.
251 ## On Xenix, use tar xpf. 254 ## On Xenix, use tar xpf.
252 255
253 .PHONY: install do-install mkdir 256 .PHONY: install mkdir
254 257
255 ## We delete each directory in ${COPYDESTS} before we copy into it; 258 ## We delete each directory in ${COPYDESTS} before we copy into it;
256 ## that way, we can reinstall over directories that have been put in 259 ## that way, we can reinstall over directories that have been put in
257 ## place with their files read-only (perhaps because they are checked 260 ## place with their files read-only (perhaps because they are checked
258 ## into RCS). In order to make this safe, we make sure that the 261 ## into RCS). In order to make this safe, we make sure that the
259 ## source exists and is distinct from the destination. 262 ## source exists and is distinct from the destination.
260 ## We don't depend on `all', but rather on ${SUBDIR}, so that we won't 263 ## We don't depend on `all', but rather on ${SUBDIR}, so that we won't
261 ## ever modify src/paths.h. 264 ## ever modify src/paths.h.
262 install: ${SUBDIR} do-install install-arch-dep install-arch-indep; 265 install: ${SUBDIR} install-arch-dep install-arch-indep;
263 266
264 ### Note that we copy the DOC-* files from the build etc directory 267 ### Note that we copy the DOC-* files from the build etc directory
265 ### as well as lots of things from ${srcdir}/etc. 268 ### as well as lots of things from ${srcdir}/etc.
266 install-arch-dep: mkdir 269 install-arch-dep: mkdir
267 (cd lib-src; \ 270 (cd lib-src; \
268 $(MAKE) install $(MFLAGS) prefix=${prefix} \ 271 $(MAKE) install $(MFLAGS) prefix=${prefix} \
269 exec_prefix=${exec_prefix} bindir=${bindir} libdir=${libdir} \ 272 exec_prefix=${exec_prefix} bindir=${bindir} libdir=${libdir} \
270 archlibdir=${archlibdir}) 273 archlibdir=${archlibdir})
271 ${INSTALL_PROGRAM} src/emacs ${bindir}/emacs-${version} 274 ${INSTALL_PROGRAM} src/emacs ${bindir}/emacs-${version}
272 -chmod 1755 ${bindir}/emacs-${version} 275 -chmod 1755 ${bindir}/emacs-${version}
273 rm -f ${bindir}/emacs 276 rm -f ${bindir}/$(EMACS)
274 -ln ${bindir}/emacs-${version} ${bindir}/emacs 277 -ln ${bindir}/emacs-${version} ${bindir}/$(EMACS)
275 278
276 ### Note that we copy the DOC-* files from the build etc directory 279 ### Note that we copy the DOC-* files from the build etc directory
277 ### as well as lots of things from ${srcdir}/etc. 280 ### as well as lots of things from ${srcdir}/etc.
278 install-arch-indep: mkdir 281 install-arch-indep: mkdir
279 -set ${COPYDESTS} ; \ 282 -set ${COPYDESTS} ; \