diff options
author | Roland McGrath <roland@gnu.org> | 1994-03-24 23:41:29 +0000 |
---|---|---|
committer | Roland McGrath <roland@gnu.org> | 1994-03-24 23:41:29 +0000 |
commit | d59d49d38f7a20cc9d63904f2304b635788d3c83 (patch) | |
tree | 09f4f4b7fddff6608bcbb0a62e1f812fb2040eef /Makefile.in | |
parent | ea0633d410bd39bf288c6519b42ae70f2fd30154 (diff) | |
download | emacs-d59d49d38f7a20cc9d63904f2304b635788d3c83.tar.gz |
(thisdir): Nonsensical variable removed.
(install-arch-indep): Set shell var thisdir=`pwd` before cd and cd back to
$thisdir, rather than the directory `this_dir', which seems exceptionally
unlikely to just happen to be a symlink to the Emacs build directory, which
must have been the intent of the author.
Diffstat (limited to 'Makefile.in')
-rw-r--r-- | Makefile.in | 12 |
1 files changed, 5 insertions, 7 deletions
diff --git a/Makefile.in b/Makefile.in index b978eb71563..25a1fee3229 100644 --- a/Makefile.in +++ b/Makefile.in @@ -174,9 +174,6 @@ 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. @@ -304,18 +301,19 @@ install-arch-indep: mkdir 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 \ (cd ${srcdir}/info ; \ if [ ! -f ${infodir}/dir ] && [ -f dir ]; then \ - (cd this_dir; ${INSTALL_DATA} ${srcdir}/info/dir ${infodir}/dir); \ + (cd $${thisdir}; ${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); \ + (cd $${thisdir}; ${INSTALL_DATA} ${srcdir}/info/$$f ${infodir}/$$f); \ done); \ else true; fi - cd ${srcdir}/etc; for page in emacs etags ctags ; do \ - (cd this_dir; ${INSTALL_DATA} ${srcdir}/etc/$${page}.1 ${mandir}/$${page}${manext}); \ + thisdir=`pwd`; cd ${srcdir}/etc; for page in emacs etags ctags ; do \ + (cd $${thisdir}; ${INSTALL_DATA} ${srcdir}/etc/$${page}.1 ${mandir}/$${page}${manext}); \ done ### Build all the directories we're going to install Emacs in. Since |