1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2024-11-21 06:55:39 +00:00

* Makefile.in (install-arch-dep): Replace last user of MV_DIRS.

This commit is contained in:
Glenn Morris 2012-05-15 15:13:17 -04:00
parent c41045e6f2
commit 4e7d487c44
2 changed files with 4 additions and 5 deletions

View File

@ -1,7 +1,6 @@
2012-05-15 Glenn Morris <rgm@gnu.org>
* 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.

View File

@ -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 \