diff options
| author | Glenn Morris | 2012-05-18 00:41:13 -0700 |
|---|---|---|
| committer | Glenn Morris | 2012-05-18 00:41:13 -0700 |
| commit | 0629a797a195aad88656003387cc4bbfb6aa74e2 (patch) | |
| tree | 58e0efb4aec691bcebe27eba0b2e2b09a4c805c7 | |
| parent | 80a511622c52f16583c549a3b16cd419a77f015e (diff) | |
| download | emacs-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-- | ChangeLog | 4 | ||||
| -rw-r--r-- | Makefile.in | 6 | ||||
| -rw-r--r-- | configure.in | 3 |
3 files changed, 12 insertions, 1 deletions
| @@ -1,5 +1,9 @@ | |||
| 1 | 2012-05-18 Glenn Morris <rgm@gnu.org> | 1 | 2012-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. | ||
| 528 | INSTALL_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. |
| 533 | install-arch-indep: info install-etc install-leim | 537 | install-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; | |||
| 1573 | fi | 1573 | fi |
| 1574 | AC_SUBST(TEMACS_LDFLAGS2) | 1574 | AC_SUBST(TEMACS_LDFLAGS2) |
| 1575 | 1575 | ||
| 1576 | INSTALL_ARCH_INDEP_EXTRA=install-etc | ||
| 1576 | LEIM_INSTALLDIR="\${install_prefix}/leim" | 1577 | LEIM_INSTALLDIR="\${install_prefix}/leim" |
| 1577 | ns_self_contained=no | 1578 | ns_self_contained=no |
| 1578 | ns_frag=/dev/null | 1579 | ns_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 | |||
| 1607 | fi | 1609 | fi |
| 1608 | CFLAGS="$tmp_CFLAGS" | 1610 | CFLAGS="$tmp_CFLAGS" |
| 1609 | CPPFLAGS="$tmp_CPPFLAGS" | 1611 | CPPFLAGS="$tmp_CPPFLAGS" |
| 1612 | AC_SUBST(INSTALL_ARCH_INDEP_EXTRA) | ||
| 1610 | AC_SUBST(LEIM_INSTALLDIR) | 1613 | AC_SUBST(LEIM_INSTALLDIR) |
| 1611 | AC_SUBST(ns_self_contained) | 1614 | AC_SUBST(ns_self_contained) |
| 1612 | AC_SUBST(NS_OBJ) | 1615 | AC_SUBST(NS_OBJ) |