diff options
| author | Paul Eggert | 2013-09-03 23:45:44 -0700 |
|---|---|---|
| committer | Paul Eggert | 2013-09-03 23:45:44 -0700 |
| commit | 224e313d3bed309a304683c83afe58752cb97e1c (patch) | |
| tree | 952d4a791e20e1b917b9ca8c3610bfaaecfd64f2 /src | |
| parent | 6d6ed1af817d98f7e78a8be10f5fda14a41e18f6 (diff) | |
| download | emacs-224e313d3bed309a304683c83afe58752cb97e1c.tar.gz emacs-224e313d3bed309a304683c83afe58752cb97e1c.zip | |
Makefile improvements.
* Makefile.in (lib): Depend on am--refresh, to avoid a race.
(src): Remove duplicate dependency on FRC.
Invoke just one submake, not two. Avoid the need for 'pwd'.
* lwlib/Makefile.in (all): Put this first. Don't use double-colon
rules, as they are not portable according to POSIX. Mark as phony.
* oldXMenu/Makefile.in (all, tags): Don't use double-colon rules, as they
are not portable according to POSIX. Mark as phony.
* src/Makefile.in (config.status): Don't use double-colon rules, as
they are not portable according to POSIX. Fix shell typo with `;
I guess this rule has never been tested?
(VCSWITNESS): New macro, to override any environment var.
Diffstat (limited to 'src')
| -rw-r--r-- | src/ChangeLog | 8 | ||||
| -rw-r--r-- | src/Makefile.in | 14 |
2 files changed, 14 insertions, 8 deletions
diff --git a/src/ChangeLog b/src/ChangeLog index c355232482f..39d2f2f412a 100644 --- a/src/ChangeLog +++ b/src/ChangeLog | |||
| @@ -1,3 +1,11 @@ | |||
| 1 | 2013-09-04 Paul Eggert <eggert@cs.ucla.edu> | ||
| 2 | |||
| 3 | Makefile improvements. | ||
| 4 | * Makefile.in (config.status): Don't use double-colon rules, as | ||
| 5 | they are not portable according to POSIX. Fix shell typo with `; | ||
| 6 | I guess this rule has never been tested? | ||
| 7 | (VCSWITNESS): New macro, to override any environment var. | ||
| 8 | |||
| 1 | 2013-09-04 Dmitry Antipov <dmantipov@yandex.ru> | 9 | 2013-09-04 Dmitry Antipov <dmantipov@yandex.ru> |
| 2 | 10 | ||
| 3 | * xterm.h (struct x_display_info): Do not track X connection | 11 | * xterm.h (struct x_display_info): Do not track X connection |
diff --git a/src/Makefile.in b/src/Makefile.in index 0e7ff9cbd33..fe8d2d13ce0 100644 --- a/src/Makefile.in +++ b/src/Makefile.in | |||
| @@ -538,14 +538,9 @@ stamp-oldxmenu: $(OLDXMENU_DEPS) | |||
| 538 | 538 | ||
| 539 | $(OLDXMENU): $(OLDXMENU_TARGET) | 539 | $(OLDXMENU): $(OLDXMENU_TARGET) |
| 540 | 540 | ||
| 541 | ../config.status:: epaths.in | 541 | ../config.status: config.in epaths.in |
| 542 | @echo "The file epaths.h needs to be set up from epaths.in." | 542 | @echo "The file ${?:.in=.h} needs to be set up from $?." |
| 543 | @echo "Please run the `configure' script again." | 543 | @echo "Please run the 'configure' script again." |
| 544 | exit 1 | ||
| 545 | |||
| 546 | ../config.status:: config.in | ||
| 547 | @echo "The file config.h needs to be set up from config.in." | ||
| 548 | @echo "Please run the `configure' script again." | ||
| 549 | exit 1 | 544 | exit 1 |
| 550 | 545 | ||
| 551 | doc.o: buildobj.h | 546 | doc.o: buildobj.h |
| @@ -658,6 +653,9 @@ $(lisp): $(BOOTSTRAPEMACS) | |||
| 658 | 653 | ||
| 659 | ## VCSWITNESS points to the file that holds info about the current checkout. | 654 | ## VCSWITNESS points to the file that holds info about the current checkout. |
| 660 | ## We use it as a heuristic to decide when to rebuild loaddefs.el. | 655 | ## We use it as a heuristic to decide when to rebuild loaddefs.el. |
| 656 | ## If empty it is ignored; the parent makefile can set it to some other value. | ||
| 657 | VCSWITNESS = | ||
| 658 | |||
| 661 | $(lispsource)/loaddefs.el: $(BOOTSTRAPEMACS) $(VCSWITNESS) | 659 | $(lispsource)/loaddefs.el: $(BOOTSTRAPEMACS) $(VCSWITNESS) |
| 662 | cd ../lisp; $(MAKE) $(MFLAGS) autoloads EMACS=$(bootstrap_exe) | 660 | cd ../lisp; $(MAKE) $(MFLAGS) autoloads EMACS=$(bootstrap_exe) |
| 663 | 661 | ||