From: Glenn Morris Date: Tue, 15 May 2012 19:13:17 +0000 (-0400) Subject: * Makefile.in (install-arch-dep): Replace last user of MV_DIRS. X-Git-Tag: emacs-24.2.90~471^2~70 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=4e7d487c440666d5178e78d66ef4c3c232c01a19;p=emacs.git * Makefile.in (install-arch-dep): Replace last user of MV_DIRS. --- diff --git a/ChangeLog b/ChangeLog index 0c921934881..9bf19a1ee57 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,7 +1,6 @@ 2012-05-15 Glenn Morris - * Makefile.in (install-arch-dep): Replace use of MV_DIRS with info, - and with libexec. + * Makefile.in (install-arch-dep): Replace use of MV_DIRS. * Makefile.in (install-arch-dep): Do not hard-code version number. diff --git a/Makefile.in b/Makefile.in index 0b1fb77e6db..b0ea80e8b9f 100644 --- a/Makefile.in +++ b/Makefile.in @@ -451,8 +451,6 @@ $(srcdir)/src/stamp-h.in: $(AUTOCONF_INPUTS) install: all install-arch-indep install-arch-dep install-leim blessmail @true -MV_DIRS = for i in $$dir; do rm -fr `basename "$$i"` ; mv "$$i" . ; done - ### Install the executables that were compiled specifically for this machine. ### It would be nice to do something for a parallel make ### to ensure that install-arch-indep finishes before this starts. @@ -470,7 +468,9 @@ install-arch-dep: mkdir -ln $(DESTDIR)${bindir}/$(EMACSFULL) $(DESTDIR)${bindir}/$(EMACS) if test "${ns_appresdir}" != ""; then \ ( cd ${ns_appresdir} ; \ - if test -d share/emacs ; then dir=share/emacs/*/*; $(MV_DIRS); fi;\ + if test -d share/emacs ; then \ + for dir in share/emacs/${version}/*; do \ + rm -fr `basename "$$dir"`; mv "$$dir" . ; done; fi ; \ if test -d share/info ; then rm -fr info; mv share/info . ; fi ; \ rm -fr share ) ; \ ( if cd ${ns_appbindir}/libexec ; then \