diff options
author | Richard M. Stallman <rms@gnu.org> | 1994-03-14 22:08:27 +0000 |
---|---|---|
committer | Richard M. Stallman <rms@gnu.org> | 1994-03-14 22:08:27 +0000 |
commit | ad0b9872a83ea9ffcc3d49c38292676e30f2df1d (patch) | |
tree | b562de516e895c591091100fce2fb8043bc68f0f /Makefile.in | |
parent | c585111d11f053b9e11c0bfb5a4fdbfec4fbdd06 (diff) | |
download | emacs-ad0b9872a83ea9ffcc3d49c38292676e30f2df1d.tar.gz |
(thisdir): New variable.
(install-arch-indep): Go back to thisdir to run INSTALL_DATA.
Diffstat (limited to 'Makefile.in')
-rw-r--r-- | Makefile.in | 20 |
1 files changed, 12 insertions, 8 deletions
diff --git a/Makefile.in b/Makefile.in index cf87f09e2d0..9712da1dd03 100644 --- a/Makefile.in +++ b/Makefile.in @@ -174,6 +174,9 @@ INSTALL_DATA = @INSTALL_DATA@ # ============================= Targets ============================== +# This directory's absolute name. +thisdir = `pwd` + # Subdirectories to make recursively. `lisp' is not included # because the compiled lisp files are part of the distribution # and you cannot remake them without installing Emacs first. @@ -302,16 +305,17 @@ install-arch-indep: mkdir (cd etc; tar -cf - DOC*)|(cd ${docdir}; umask 0; tar -xvf - ); \ else true; fi if [ `(cd ${srcdir}/info && /bin/pwd)` != `(cd ${infodir} && /bin/pwd)` ]; \ - then (cd ${srcdir}/info ; \ - if [ ! -f ${infodir}/dir ] && [ -f dir ]; then \ - ${INSTALL_DATA} dir ${infodir}/dir ; \ - fi ; \ - for f in cl* emacs* dired-x* forms* gnus* info* sc* vip* ; do \ - ${INSTALL_DATA} $$f ${infodir}/$$f ; \ - done); \ + then + (cd ${srcdir}/info ; \ + if [ ! -f ${infodir}/dir ] && [ -f dir ]; then \ + (cd this_dir; ${INSTALL_DATA} ${srcdir}/info/dir ${infodir}/dir); \ + fi ; \ + for f in cl* emacs* dired-x* forms* gnus* info* sc* vip* ; do \ + (cd this_dir; ${INSTALL_DATA} ${srcdir}/info/$$f ${infodir}/$$f); \ + done); \ else true; fi cd ${srcdir}/etc; for page in emacs etags ctags ; do \ - ${INSTALL_DATA} $${page}.1 ${mandir}/$${page}${manext} ; \ + (cd this_dir; ${INSTALL_DATA} ${srcdir}/etc/$${page}.1 ${mandir}/$${page}${manext}); \ done ### Build all the directories we're going to install Emacs in. Since |