diff options
| author | Glenn Morris | 2013-07-23 19:00:43 -0400 |
|---|---|---|
| committer | Glenn Morris | 2013-07-23 19:00:43 -0400 |
| commit | 60967f56e71c1e578cb2f0585a8d64d54394110f (patch) | |
| tree | e0a0742fd8e2360d33e8069952421a1a80d47e8c | |
| parent | bbece175c960338be32e9c2381800d4657315ff3 (diff) | |
| download | emacs-60967f56e71c1e578cb2f0585a8d64d54394110f.tar.gz emacs-60967f56e71c1e578cb2f0585a8d64d54394110f.zip | |
No need for configure to create etc/ and lisp/ any more
* configure.ac (etc, lisp): No need to create specially.
Configure already creates lisp when generating lisp/Makefile;
src/Makefile now creates etc when needed.
* src/Makefile.in ($(etc)/DOC, temacs$(EXEEXT)): Ensure etc/ exists.
| -rw-r--r-- | ChangeLog | 5 | ||||
| -rw-r--r-- | configure.ac | 7 | ||||
| -rw-r--r-- | src/ChangeLog | 4 | ||||
| -rw-r--r-- | src/Makefile.in | 6 |
4 files changed, 15 insertions, 7 deletions
| @@ -1,3 +1,8 @@ | |||
| 1 | 2013-07-23 Glenn Morris <rgm@gnu.org> | ||
| 2 | |||
| 3 | * configure.ac (etc, lisp): No need to create specially. | ||
| 4 | Configure already creates lisp, src/Makefile now creates etc. | ||
| 5 | |||
| 1 | 2013-07-23 Paul Eggert <eggert@cs.ucla.edu> | 6 | 2013-07-23 Paul Eggert <eggert@cs.ucla.edu> |
| 2 | 7 | ||
| 3 | Port to GNU/Linux systems with tinfo but not ncurses. | 8 | Port to GNU/Linux systems with tinfo but not ncurses. |
diff --git a/configure.ac b/configure.ac index f48822480e4..c58c283049c 100644 --- a/configure.ac +++ b/configure.ac | |||
| @@ -4854,13 +4854,6 @@ SUBDIR_MAKEFILES_IN=`echo " ${SUBDIR_MAKEFILES}" | sed -e 's| | $(srcdir)/|g' -e | |||
| 4854 | 4854 | ||
| 4855 | AC_SUBST(SUBDIR_MAKEFILES_IN) | 4855 | AC_SUBST(SUBDIR_MAKEFILES_IN) |
| 4856 | 4856 | ||
| 4857 | dnl Make the necessary directories, if they don't exist. | ||
| 4858 | AC_CONFIG_COMMANDS([mkdirs], [ | ||
| 4859 | for dir in etc lisp ; do | ||
| 4860 | test -d ${dir} || mkdir ${dir} | ||
| 4861 | done | ||
| 4862 | ]) | ||
| 4863 | |||
| 4864 | dnl You might wonder (I did) why epaths.h is generated by running make, | 4857 | dnl You might wonder (I did) why epaths.h is generated by running make, |
| 4865 | dnl rather than just letting configure generate it from epaths.in. | 4858 | dnl rather than just letting configure generate it from epaths.in. |
| 4866 | dnl One reason is that the various paths are not fully expanded (see above); | 4859 | dnl One reason is that the various paths are not fully expanded (see above); |
diff --git a/src/ChangeLog b/src/ChangeLog index 8a51744ba4b..30cc0dcdac6 100644 --- a/src/ChangeLog +++ b/src/ChangeLog | |||
| @@ -1,3 +1,7 @@ | |||
| 1 | 2013-07-23 Glenn Morris <rgm@gnu.org> | ||
| 2 | |||
| 3 | * Makefile.in ($(etc)/DOC, temacs$(EXEEXT)): Ensure etc/ exists. | ||
| 4 | |||
| 1 | 2013-07-23 Paul Eggert <eggert@cs.ucla.edu> | 5 | 2013-07-23 Paul Eggert <eggert@cs.ucla.edu> |
| 2 | 6 | ||
| 3 | Port to GNU/Linux systems with tinfo but not ncurses. | 7 | Port to GNU/Linux systems with tinfo but not ncurses. |
diff --git a/src/Makefile.in b/src/Makefile.in index 066507580b4..65927ba236c 100644 --- a/src/Makefile.in +++ b/src/Makefile.in | |||
| @@ -469,6 +469,7 @@ emacs$(EXEEXT): temacs$(EXEEXT) $(ADDSECTION) \ | |||
| 469 | ## in the contents of the DOC file. | 469 | ## in the contents of the DOC file. |
| 470 | ## | 470 | ## |
| 471 | $(etc)/DOC: $(libsrc)/make-docfile$(EXEEXT) $(obj) $(lisp) | 471 | $(etc)/DOC: $(libsrc)/make-docfile$(EXEEXT) $(obj) $(lisp) |
| 472 | $(MKDIR_P) $(etc) | ||
| 472 | -rm -f $(etc)/DOC | 473 | -rm -f $(etc)/DOC |
| 473 | $(libsrc)/make-docfile -d $(srcdir) $(SOME_MACHINE_OBJECTS) $(obj) > $(etc)/DOC | 474 | $(libsrc)/make-docfile -d $(srcdir) $(SOME_MACHINE_OBJECTS) $(obj) > $(etc)/DOC |
| 474 | $(libsrc)/make-docfile -a $(etc)/DOC -d $(lispsource) `sed -n -e 's| \\\\||' -e 's|^[ ]*$$(lispsource)/||p' $(srcdir)/lisp.mk` | 475 | $(libsrc)/make-docfile -a $(etc)/DOC -d $(lispsource) `sed -n -e 's| \\\\||' -e 's|^[ ]*$$(lispsource)/||p' $(srcdir)/lisp.mk` |
| @@ -497,10 +498,15 @@ $(ALLOBJS): globals.h | |||
| 497 | $(lib)/libgnu.a: $(config_h) | 498 | $(lib)/libgnu.a: $(config_h) |
| 498 | cd $(lib) && $(MAKE) libgnu.a | 499 | cd $(lib) && $(MAKE) libgnu.a |
| 499 | 500 | ||
| 501 | ## We have to create $(etc) here because init_cmdargs tests its | ||
| 502 | ## existence when setting Vinstallation_directory (FIXME?). | ||
| 503 | ## This goes on to affect various things, and the emacs binary fails | ||
| 504 | ## to start if Vinstallation_directory has the wrong value. | ||
| 500 | temacs$(EXEEXT): stamp-oldxmenu $(ALLOBJS) \ | 505 | temacs$(EXEEXT): stamp-oldxmenu $(ALLOBJS) \ |
| 501 | $(lib)/libgnu.a $(EMACSRES) | 506 | $(lib)/libgnu.a $(EMACSRES) |
| 502 | $(CC) $(ALL_CFLAGS) $(TEMACS_LDFLAGS) $(LDFLAGS) \ | 507 | $(CC) $(ALL_CFLAGS) $(TEMACS_LDFLAGS) $(LDFLAGS) \ |
| 503 | -o temacs $(ALLOBJS) $(lib)/libgnu.a $(W32_RES_LINK) $(LIBES) | 508 | -o temacs $(ALLOBJS) $(lib)/libgnu.a $(W32_RES_LINK) $(LIBES) |
| 509 | $(MKDIR_P) $(etc) | ||
| 504 | $(TEMACS_POST_LINK) | 510 | $(TEMACS_POST_LINK) |
| 505 | test "$(CANNOT_DUMP)" = "yes" || \ | 511 | test "$(CANNOT_DUMP)" = "yes" || \ |
| 506 | test "X$(PAXCTL)" = X || $(PAXCTL) -r temacs$(EXEEXT) | 512 | test "X$(PAXCTL)" = X || $(PAXCTL) -r temacs$(EXEEXT) |