changeset 6013:f03d2629a6a3

(install-arch-dep, install-arch-indep): New targets split up former do-install rule. (do-install): Target deleted.
author Richard M. Stallman <rms@gnu.org>
date Sun, 20 Feb 1994 03:25:09 +0000
parents 650c0f231d17
children 0d370ebc038a
files Makefile.in
diffstat 1 files changed, 10 insertions(+), 6 deletions(-) [+]
line wrap: on
line diff
--- a/Makefile.in	Sun Feb 20 02:50:13 1994 +0000
+++ b/Makefile.in	Sun Feb 20 03:25:09 1994 +0000
@@ -253,15 +253,23 @@
 ## source exists and is distinct from the destination.
 ## We don't depend on `all', but rather on ${SUBDIR}, so that we won't
 ## ever modify src/paths.h.
-install: ${SUBDIR} do-install ;
+install: ${SUBDIR} do-install install-arch-dep install-arch-indep;
 
 ### Note that we copy the DOC-* files from the build etc directory
 ### as well as lots of things from ${srcdir}/etc.
-do-install: mkdir
+install-arch-dep: mkdir
 	(cd lib-src; \
 	  $(MAKE) install $(MFLAGS) prefix=${prefix} \
 	    exec_prefix=${exec_prefix} bindir=${bindir} libdir=${libdir} \
 	    archlibdir=${archlibdir})
+	${INSTALL_PROGRAM} src/emacs ${bindir}/emacs-${version}
+	-chmod 1755  ${bindir}/emacs-${version}
+	rm -f ${bindir}/emacs
+	-ln ${bindir}/emacs-${version} ${bindir}/emacs
+
+### Note that we copy the DOC-* files from the build etc directory
+### as well as lots of things from ${srcdir}/etc.
+install-arch-indep: mkdir
 	-set ${COPYDESTS} ; \
 	 for dir in ${COPYDIR} ; do \
 	   if [ `(cd $$1 && pwd)` != `(cd $${dir} && pwd)` ] ; then \
@@ -301,10 +309,6 @@
 	cd ${srcdir}/etc; for page in emacs etags ctags ; do \
 	  ${INSTALL_DATA} $${page}.1 ${mandir}/$${page}${manext} ; \
 	done
-	${INSTALL_PROGRAM} src/emacs ${bindir}/emacs-${version}
-	-chmod 1755  ${bindir}/emacs-${version}
-	rm -f ${bindir}/emacs
-	-ln ${bindir}/emacs-${version} ${bindir}/emacs
 
 ### Build all the directories we're going to install Emacs in.	Since
 ### we may be creating several layers of directories (for example,