diff options
| author | Jan Djärv | 2008-12-30 20:13:28 +0000 |
|---|---|---|
| committer | Jan Djärv | 2008-12-30 20:13:28 +0000 |
| commit | 9c2224013b406a4889b4af6e6445acfa89fe67db (patch) | |
| tree | c4c02f8faf378d7d9a0885f02489d6dd0687d694 /Makefile.in | |
| parent | ba952214229c1ce4170b5cb125397c988f67d99f (diff) | |
| download | emacs-9c2224013b406a4889b4af6e6445acfa89fe67db.tar.gz emacs-9c2224013b406a4889b4af6e6445acfa89fe67db.zip | |
(install-arch-dep): Remove old directories in
ns_app* before moving new directories there.
Diffstat (limited to 'Makefile.in')
| -rw-r--r-- | Makefile.in | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/Makefile.in b/Makefile.in index 9d26595eed3..8425867ef29 100644 --- a/Makefile.in +++ b/Makefile.in | |||
| @@ -393,6 +393,8 @@ $(srcdir)/src/stamp-h.in: $(AUTOCONF_INPUTS) | |||
| 393 | install: all install-arch-indep install-arch-dep install-leim blessmail | 393 | install: all install-arch-indep install-arch-dep install-leim blessmail |
| 394 | @true | 394 | @true |
| 395 | 395 | ||
| 396 | MV_DIRS = for i in $$dir; do rm -fr $$(basename "$$i") ; mv "$$i" . ; done | ||
| 397 | |||
| 396 | ### Install the executables that were compiled specifically for this machine. | 398 | ### Install the executables that were compiled specifically for this machine. |
| 397 | ### It would be nice to do something for a parallel make | 399 | ### It would be nice to do something for a parallel make |
| 398 | ### to ensure that install-arch-indep finishes before this starts. | 400 | ### to ensure that install-arch-indep finishes before this starts. |
| @@ -414,10 +416,11 @@ install-arch-dep: mkdir | |||
| 414 | done | 416 | done |
| 415 | if test "${ns_appdir}" != ""; then \ | 417 | if test "${ns_appdir}" != ""; then \ |
| 416 | ( cd ${ns_appresdir} ; \ | 418 | ( cd ${ns_appresdir} ; \ |
| 417 | if test -d share/emacs ; then mv -f share/emacs/*/* . ; fi ; \ | 419 | if test -d share/emacs ; then dir=share/emacs/*/*; $(MV_DIRS); fi;\ |
| 418 | if test -d share/info ; then mv -f share/info . ; fi ; \ | 420 | if test -d share/info ; then dir=share/info; $(MV_DIRS) ; fi ; \ |
| 419 | rm -fr share ) ; \ | 421 | rm -fr share ) ; \ |
| 420 | ( cd ${ns_appbindir}/libexec ; mv -f emacs/*/*/* . ; rm -fr emacs ) ; \ | 422 | ( cd ${ns_appbindir}/libexec ; dir=emacs/*/*/* ; $(MV_DIRS); \ |
| 423 | rm -fr emacs ) ; \ | ||
| 421 | ( cd ${ns_appbindir}/bin ; rm -f emacs emacs-23* ; \ | 424 | ( cd ${ns_appbindir}/bin ; rm -f emacs emacs-23* ; \ |
| 422 | ln -sf ../libexec/* .) ; \ | 425 | ln -sf ../libexec/* .) ; \ |
| 423 | else true ; fi | 426 | else true ; fi |