diff options
author | Richard M. Stallman <rms@gnu.org> | 1994-05-07 03:15:33 +0000 |
---|---|---|
committer | Richard M. Stallman <rms@gnu.org> | 1994-05-07 03:15:33 +0000 |
commit | 3be1f08e7457f4ca495df76dac34eb19917e7c14 (patch) | |
tree | 8dbea96811cd64e5098fa1539bf33d5518de4780 /Makefile.in | |
parent | 542eb82b74ae8021bfff7315b344fd1168f8da76 (diff) | |
download | emacs-3be1f08e7457f4ca495df76dac34eb19917e7c14.tar.gz |
(install-arch-indep): Do install info/dired-x*.
Merge code in from install-doc.
(install-doc): Merge code back into install-arch-indep.
(install-arch-dep): Don't depend on install-doc.
Diffstat (limited to 'Makefile.in')
-rw-r--r-- | Makefile.in | 21 |
1 files changed, 9 insertions, 12 deletions
diff --git a/Makefile.in b/Makefile.in index dc2790e5ec6..6804224dfce 100644 --- a/Makefile.in +++ b/Makefile.in @@ -270,10 +270,7 @@ install: ${SUBDIR} 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. - -## The docfile isn't really architecture-dependent, but we want to -## install it along with the version of Emacs that it's keyed to. -install-arch-dep: mkdir install-doc +install-arch-dep: mkdir (cd lib-src; \ $(MAKE) install $(MFLAGS) prefix=${prefix} \ exec_prefix=${exec_prefix} bindir=${bindir} libdir=${libdir} \ @@ -283,13 +280,8 @@ install-arch-dep: mkdir install-doc rm -f ${bindir}/$(EMACS) -ln ${bindir}/emacs-${version} ${bindir}/$(EMACS) -install-doc: mkdir - if [ `(cd ./etc; /bin/pwd)` != `(cd ${docdir}; /bin/pwd)` ]; \ - then \ - echo "Copying etc/DOC* ..." ; \ - (cd etc; tar -cf - DOC*)|(cd ${docdir}; umask 0; tar -xvf - ); \ - else true; fi - +### 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 \ @@ -313,6 +305,11 @@ install-arch-indep: mkdir rm -f $${subdir}/*~ ; \ done) ; \ done + if [ `(cd ./etc; /bin/pwd)` != `(cd ${docdir}; /bin/pwd)` ]; \ + then \ + echo "Copying etc/DOC* ..." ; \ + (cd etc; tar -cf - DOC*)|(cd ${docdir}; umask 0; tar -xvf - ); \ + else true; fi thisdir=`pwd`; \ if [ `(cd ${srcdir}/info && /bin/pwd)` != `(cd ${infodir} && /bin/pwd)` ]; \ then \ @@ -320,7 +317,7 @@ install-arch-indep: mkdir if [ ! -f ${infodir}/dir ] && [ -f dir ]; then \ (cd $${thisdir}; ${INSTALL_DATA} ${srcdir}/info/dir ${infodir}/dir); \ fi ; \ - for f in cl* emacs* forms* gnus* info* sc* vip* ; do \ + for f in cl* dired-x* emacs* forms* gnus* info* sc* vip* ; do \ (cd $${thisdir}; ${INSTALL_DATA} ${srcdir}/info/$$f ${infodir}/$$f); \ done); \ else true; fi |