diff 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
line wrap: on
line diff
--- a/Makefile.in	Fri Dec 24 02:26:57 1993 +0000
+++ b/Makefile.in	Fri Dec 24 02:28:35 1993 +0000
@@ -88,7 +88,7 @@
 # Where to install and expect executable files to be run by Emacs
 # rather than directly by users, and other architecture-dependent
 # data.	 ${archlibdir} is a subdirectory of this.
-libdir=${exec_prefix}/lib
+libdir=@libdir@
 
 # Where to install Emacs's man pages, and what extension they should have.
 mandir=@mandir@
@@ -245,7 +245,9 @@
 ## place with their files read-only (perhaps because they are checked
 ## into RCS).  In order to make this safe, we make sure that the
 ## source exists and is distinct from the destination.
-install: all do-install
+## We don't depend on `all', but rather on ${SUBDIR}, so that we won't
+## ever modify src/paths.h.
+install: ${SUBDIR} do-install ;
 
 ### Note that we copy the DOC-* files from the build etc directory
 ### as well as lots of things from ${srcdir}/etc.
@@ -306,7 +308,7 @@
 	./lib-src/make-path ${COPYDESTS} ${lockdir} ${infodir} ${mandir} \
 	  ${bindir} ${datadir} ${libdir} \
 	  `echo ${locallisppath} | sed 's/:/ /'`
-	-chmod 777 ${COPYDESTS} ${lockdir}
+	-chmod 777 ${lockdir}
 
 ### Delete all the installed files that the `install' target would
 ### create (but not the noninstalled files such as `make all' would
@@ -457,7 +459,9 @@
 dist:
 	cd ${srcdir}; make-dist
 
-info:
+.PHONY: info dvi dist check
+force-info:
+info: force-info
 	(cd ${srcdir}/man; $(MAKE) $(MFLAGS) info)
 dvi:
 	(cd ${srcdir}/man; $(MAKE) $(MFLAGS) dvi)