aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGlenn Morris2012-05-17 14:28:24 -0400
committerGlenn Morris2012-05-17 14:28:24 -0400
commit05f3d308da1b93a1fffbb6653c84da02334ff0b8 (patch)
treeff9ca24ac6ee0f489e70ed9ab0a5fdc0a4edb490
parent9f1ea7dcd994c63d754ba74fc3522fa725fd0f0d (diff)
downloademacs-05f3d308da1b93a1fffbb6653c84da02334ff0b8.tar.gz
emacs-05f3d308da1b93a1fffbb6653c84da02334ff0b8.zip
Further simplify install-arch-dep for self-contained NS builds
* Makefile.in (install-arch-dep): Use $write_subdir.
-rw-r--r--ChangeLog2
-rw-r--r--Makefile.in17
2 files changed, 11 insertions, 8 deletions
diff --git a/ChangeLog b/ChangeLog
index 8e5d69dc68f..d218ac4197f 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,7 +1,7 @@
12012-05-17 Glenn Morris <rgm@gnu.org> 12012-05-17 Glenn Morris <rgm@gnu.org>
2 2
3 * Makefile.in (write_subdir): New. 3 * Makefile.in (write_subdir): New.
4 (install-arch-indep): Use $write_subdir. 4 (install-arch-indep, install-arch-dep): Use $write_subdir.
5 5
6 * configure.in (docdir, etcdir, infodir, lispdir): 6 * configure.in (docdir, etcdir, infodir, lispdir):
7 For a self-contained ns build, set these to the appropriate values. 7 For a self-contained ns build, set these to the appropriate values.
diff --git a/Makefile.in b/Makefile.in
index 630ca2ff3ac..0f5ec8a0c7c 100644
--- a/Makefile.in
+++ b/Makefile.in
@@ -473,15 +473,18 @@ install-arch-dep: mkdir
473 rm -f $(DESTDIR)${bindir}/$(EMACS) ; \ 473 rm -f $(DESTDIR)${bindir}/$(EMACS) ; \
474 ln $(DESTDIR)${bindir}/$(EMACSFULL) $(DESTDIR)${bindir}/$(EMACS) || true ; \ 474 ln $(DESTDIR)${bindir}/$(EMACSFULL) $(DESTDIR)${bindir}/$(EMACS) || true ; \
475 else \ 475 else \
476 ( cd ${ns_appresdir} || exit 1 ; \ 476 subdir=${ns_appresdir}/site-lisp; \
477 if test -d share/emacs ; then \ 477 ${MKDIR_P} $${subdir}; \
478 for dir in share/emacs/${version}/*; do \ 478 ${write_subdir} || exit 1; \
479 rm -fr `basename "$$dir"`; mv "$$dir" . ; \ 479 rm -rf ${ns_appresdir}/share; \
480 done ; \
481 fi ; \
482 rm -fr share ) ; \
483 fi 480 fi
484 481
482## In the share directory, we are deleting:
483## applications (with emacs.desktop)
484## emacs (basically empty)
485## icons (duplicates etc/images/icons/hicolor)
486## man (maybe we should be installing this one, like info)
487
485## http://lists.gnu.org/archive/html/emacs-devel/2007-10/msg01672.html 488## http://lists.gnu.org/archive/html/emacs-devel/2007-10/msg01672.html
486## Needs to be the user running install, so configure can't set it. 489## Needs to be the user running install, so configure can't set it.
487set_installuser=for installuser in $${LOGNAME} $${USERNAME} $${USER} \ 490set_installuser=for installuser in $${LOGNAME} $${USERNAME} $${USER} \