From: Glenn Morris Date: Thu, 12 Dec 2013 09:02:27 +0000 (-0800) Subject: * Makefile.in (install-info): Remove some useless subshells. X-Git-Tag: emacs-24.3.90~173^2^2~42^2~45^2~387^2~451 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=e035a207b7c3ce6493088b03c1066db58b0cf375;p=emacs.git * Makefile.in (install-info): Remove some useless subshells. --- diff --git a/ChangeLog b/ChangeLog index 6abeca9cc20..4ca59ae5ce0 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,7 @@ 2013-12-12 Glenn Morris + * Makefile.in (install-info): Remove some useless subshells. + Stop keeping info/dir in the repository. * build-aux/dir_top: Move here from admin/. * build-aux/make-info-dir: New script. diff --git a/Makefile.in b/Makefile.in index dae475bf2e8..58783cd2b26 100644 --- a/Makefile.in +++ b/Makefile.in @@ -651,10 +651,8 @@ install-info: info if [ "`cd ${srcdir}/info && /bin/pwd`" = "$$exp_infodir" ]; then \ true; \ else \ - (cd "$(DESTDIR)${infodir}"; \ - [ -f dir ] || \ - (cd "$${thisdir}"; \ - ${INSTALL_DATA} ${srcdir}/info/dir "$(DESTDIR)${infodir}/dir") ); \ + [ -f "$(DESTDIR)${infodir}/dir" ] || \ + ${INSTALL_DATA} ${srcdir}/info/dir "$(DESTDIR)${infodir}/dir"; \ info_misc=`cd doc/misc && $(QUIET_SUBMAKE) $(MAKE) -s echo-info`; \ cd ${srcdir}/info ; \ for elt in ${INFO_NONMISC} $${info_misc}; do \