summaryrefslogtreecommitdiff
path: root/Makefile.in
diff options
context:
space:
mode:
authorRichard M. Stallman <rms@gnu.org>1994-02-20 03:25:09 +0000
committerRichard M. Stallman <rms@gnu.org>1994-02-20 03:25:09 +0000
commit28e7803adfb19d8494c7220a51da45d9ad796f6f (patch)
treecb2dfac42cdc8631bcf1eece7a7731c1e001f901 /Makefile.in
parent7d0f77e41c226897e00b6d96f26cb6ba27b76f5d (diff)
downloademacs-28e7803adfb19d8494c7220a51da45d9ad796f6f.tar.gz
(install-arch-dep, install-arch-indep):
New targets split up former do-install rule. (do-install): Target deleted.
Diffstat (limited to 'Makefile.in')
-rw-r--r--Makefile.in16
1 files changed, 10 insertions, 6 deletions
diff --git a/Makefile.in b/Makefile.in
index e0a641736ef..63dddb6f65b 100644
--- a/Makefile.in
+++ b/Makefile.in
@@ -253,15 +253,23 @@ lwlib/Makefile: lwlib/Makefile.in config.status
## 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 @@ do-install: mkdir
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,