Mercurial > emacs
comparison Makefile.in @ 5321:69d64181891b
(mkdir): Make only the lockdir writable.
(libdir): Use @libdir@.
(install): Add empty command.
(install): Depend on ${SUBDIR}, not `all'.
author | Richard M. Stallman <rms@gnu.org> |
---|---|
date | Fri, 24 Dec 1993 02:28:35 +0000 |
parents | 1006461bf759 |
children | 8c0dd3e81e28 |
comparison
equal
deleted
inserted
replaced
5320:ada749d7f88c | 5321:69d64181891b |
---|---|
86 statedir=@statedir@ | 86 statedir=@statedir@ |
87 | 87 |
88 # Where to install and expect executable files to be run by Emacs | 88 # Where to install and expect executable files to be run by Emacs |
89 # rather than directly by users, and other architecture-dependent | 89 # rather than directly by users, and other architecture-dependent |
90 # data. ${archlibdir} is a subdirectory of this. | 90 # data. ${archlibdir} is a subdirectory of this. |
91 libdir=${exec_prefix}/lib | 91 libdir=@libdir@ |
92 | 92 |
93 # Where to install Emacs's man pages, and what extension they should have. | 93 # Where to install Emacs's man pages, and what extension they should have. |
94 mandir=@mandir@ | 94 mandir=@mandir@ |
95 manext=.1 | 95 manext=.1 |
96 | 96 |
243 ## We delete each directory in ${COPYDESTS} before we copy into it; | 243 ## We delete each directory in ${COPYDESTS} before we copy into it; |
244 ## that way, we can reinstall over directories that have been put in | 244 ## that way, we can reinstall over directories that have been put in |
245 ## place with their files read-only (perhaps because they are checked | 245 ## place with their files read-only (perhaps because they are checked |
246 ## into RCS). In order to make this safe, we make sure that the | 246 ## into RCS). In order to make this safe, we make sure that the |
247 ## source exists and is distinct from the destination. | 247 ## source exists and is distinct from the destination. |
248 install: all do-install | 248 ## We don't depend on `all', but rather on ${SUBDIR}, so that we won't |
249 ## ever modify src/paths.h. | |
250 install: ${SUBDIR} do-install ; | |
249 | 251 |
250 ### Note that we copy the DOC-* files from the build etc directory | 252 ### Note that we copy the DOC-* files from the build etc directory |
251 ### as well as lots of things from ${srcdir}/etc. | 253 ### as well as lots of things from ${srcdir}/etc. |
252 do-install: mkdir | 254 do-install: mkdir |
253 (cd lib-src; \ | 255 (cd lib-src; \ |
304 ### instead of mkdir. Not all systems' mkdirs have the `-p' flag. | 306 ### instead of mkdir. Not all systems' mkdirs have the `-p' flag. |
305 mkdir: FRC.mkdir | 307 mkdir: FRC.mkdir |
306 ./lib-src/make-path ${COPYDESTS} ${lockdir} ${infodir} ${mandir} \ | 308 ./lib-src/make-path ${COPYDESTS} ${lockdir} ${infodir} ${mandir} \ |
307 ${bindir} ${datadir} ${libdir} \ | 309 ${bindir} ${datadir} ${libdir} \ |
308 `echo ${locallisppath} | sed 's/:/ /'` | 310 `echo ${locallisppath} | sed 's/:/ /'` |
309 -chmod 777 ${COPYDESTS} ${lockdir} | 311 -chmod 777 ${lockdir} |
310 | 312 |
311 ### Delete all the installed files that the `install' target would | 313 ### Delete all the installed files that the `install' target would |
312 ### create (but not the noninstalled files such as `make all' would | 314 ### create (but not the noninstalled files such as `make all' would |
313 ### create). | 315 ### create). |
314 ### | 316 ### |
455 @echo "We don't have any tests for GNU Emacs yet." | 457 @echo "We don't have any tests for GNU Emacs yet." |
456 | 458 |
457 dist: | 459 dist: |
458 cd ${srcdir}; make-dist | 460 cd ${srcdir}; make-dist |
459 | 461 |
460 info: | 462 .PHONY: info dvi dist check |
463 force-info: | |
464 info: force-info | |
461 (cd ${srcdir}/man; $(MAKE) $(MFLAGS) info) | 465 (cd ${srcdir}/man; $(MAKE) $(MFLAGS) info) |
462 dvi: | 466 dvi: |
463 (cd ${srcdir}/man; $(MAKE) $(MFLAGS) dvi) | 467 (cd ${srcdir}/man; $(MAKE) $(MFLAGS) dvi) |