aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGlenn Morris2012-05-18 00:41:13 -0700
committerGlenn Morris2012-05-18 00:41:13 -0700
commit0629a797a195aad88656003387cc4bbfb6aa74e2 (patch)
tree58e0efb4aec691bcebe27eba0b2e2b09a4c805c7
parent80a511622c52f16583c549a3b16cd419a77f015e (diff)
downloademacs-0629a797a195aad88656003387cc4bbfb6aa74e2.tar.gz
emacs-0629a797a195aad88656003387cc4bbfb6aa74e2.zip
Avoid installation followed by immediate deletion for self-contained ns
* configure.in (INSTALL_ARCH_INDEP_EXTRA): New output variable. * Makefile.in (INSTALL_ARCH_INDEP_EXTRA): New, set by configure. (install-arch-indep): Don't install-etc for self-contained ns builds.
-rw-r--r--ChangeLog4
-rw-r--r--Makefile.in6
-rw-r--r--configure.in3
3 files changed, 12 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index e8bd7061222..6129800f25b 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,9 @@
12012-05-18 Glenn Morris <rgm@gnu.org> 12012-05-18 Glenn Morris <rgm@gnu.org>
2 2
3 * configure.in (INSTALL_ARCH_INDEP_EXTRA): New output variable.
4 * Makefile.in (INSTALL_ARCH_INDEP_EXTRA): New, set by configure.
5 (install-arch-indep): Don't install-etc for self-contained ns builds.
6
3 * configure.in (GCC_TEST_OPTIONS, NON_GCC_TEST_OPTIONS) <darwin>: 7 * configure.in (GCC_TEST_OPTIONS, NON_GCC_TEST_OPTIONS) <darwin>:
4 No longer unconditonally add /sw directories. (Bug#2280) 8 No longer unconditonally add /sw directories. (Bug#2280)
5 9
diff --git a/Makefile.in b/Makefile.in
index 3b66db4e8c5..432f26919ec 100644
--- a/Makefile.in
+++ b/Makefile.in
@@ -523,6 +523,10 @@ set_installuser=for installuser in $${LOGNAME} $${USERNAME} $${USER} \
523## into RCS). In order to make this safe, we make sure that the 523## into RCS). In order to make this safe, we make sure that the
524## source exists and is distinct from the destination. 524## source exists and is distinct from the destination.
525 525
526## This is install-etc for everything except self-contained-ns builds.
527## For them, it is empty.
528INSTALL_ARCH_INDEP_EXTRA = @INSTALL_ARCH_INDEP_EXTRA@
529
526## I'm not sure creating locallisppath here serves any useful purpose. 530## I'm not sure creating locallisppath here serves any useful purpose.
527## If it has the default value, then the later write_subdir commands 531## If it has the default value, then the later write_subdir commands
528## will ensure all these components exist. 532## will ensure all these components exist.
@@ -530,7 +534,7 @@ set_installuser=for installuser in $${LOGNAME} $${USERNAME} $${USER} \
530## Is it really Emacs's job to create those directories? 534## Is it really Emacs's job to create those directories?
531## Should we also be ensuring they contain subdirs.el files? 535## Should we also be ensuring they contain subdirs.el files?
532## It would be easy to do, just use write_subdir. 536## It would be easy to do, just use write_subdir.
533install-arch-indep: info install-etc install-leim 537install-arch-indep: info install-leim ${INSTALL_ARCH_INDEP_EXTRA}
534 umask 022 ; \ 538 umask 022 ; \
535 $(MKDIR_P) $(DESTDIR)`echo ${locallisppath} | sed 's,:, $(DESTDIR),g'` 539 $(MKDIR_P) $(DESTDIR)`echo ${locallisppath} | sed 's,:, $(DESTDIR),g'`
536 -set ${COPYDESTS} ; \ 540 -set ${COPYDESTS} ; \
diff --git a/configure.in b/configure.in
index 6b16b4356b0..74f55334636 100644
--- a/configure.in
+++ b/configure.in
@@ -1573,6 +1573,7 @@ fail;
1573fi 1573fi
1574AC_SUBST(TEMACS_LDFLAGS2) 1574AC_SUBST(TEMACS_LDFLAGS2)
1575 1575
1576INSTALL_ARCH_INDEP_EXTRA=install-etc
1576LEIM_INSTALLDIR="\${install_prefix}/leim" 1577LEIM_INSTALLDIR="\${install_prefix}/leim"
1577ns_self_contained=no 1578ns_self_contained=no
1578ns_frag=/dev/null 1579ns_frag=/dev/null
@@ -1600,6 +1601,7 @@ if test "${HAVE_NS}" = yes; then
1600 infodir="\${ns_appresdir}/info" 1601 infodir="\${ns_appresdir}/info"
1601 lispdir="\${ns_appresdir}/lisp" 1602 lispdir="\${ns_appresdir}/lisp"
1602 LEIM_INSTALLDIR="\${ns_appresdir}/leim" 1603 LEIM_INSTALLDIR="\${ns_appresdir}/leim"
1604 INSTALL_ARCH_INDEP_EXTRA=
1603 fi 1605 fi
1604 ns_frag=$srcdir/src/ns.mk 1606 ns_frag=$srcdir/src/ns.mk
1605 NS_OBJ="fontset.o fringe.o image.o" 1607 NS_OBJ="fontset.o fringe.o image.o"
@@ -1607,6 +1609,7 @@ if test "${HAVE_NS}" = yes; then
1607fi 1609fi
1608CFLAGS="$tmp_CFLAGS" 1610CFLAGS="$tmp_CFLAGS"
1609CPPFLAGS="$tmp_CPPFLAGS" 1611CPPFLAGS="$tmp_CPPFLAGS"
1612AC_SUBST(INSTALL_ARCH_INDEP_EXTRA)
1610AC_SUBST(LEIM_INSTALLDIR) 1613AC_SUBST(LEIM_INSTALLDIR)
1611AC_SUBST(ns_self_contained) 1614AC_SUBST(ns_self_contained)
1612AC_SUBST(NS_OBJ) 1615AC_SUBST(NS_OBJ)