From e035a207b7c3ce6493088b03c1066db58b0cf375 Mon Sep 17 00:00:00 2001 From: Glenn Morris Date: Thu, 12 Dec 2013 01:02:27 -0800 Subject: [PATCH] * Makefile.in (install-info): Remove some useless subshells. --- ChangeLog | 2 ++ Makefile.in | 6 ++---- 2 files changed, 4 insertions(+), 4 deletions(-) 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 \ -- 2.39.2