diff options
| author | Eli Zaretskii | 2017-02-18 14:49:30 +0200 |
|---|---|---|
| committer | Eli Zaretskii | 2017-02-18 14:49:30 +0200 |
| commit | ba6e7232d0324a52be4cd5d5cd3da93ca651ebda (patch) | |
| tree | 24c3d3fecf96e248621a65a3db627d6dd39f0973 | |
| parent | a848d36c578cb849a283d72edbd69d1b955350f9 (diff) | |
| download | emacs-ba6e7232d0324a52be4cd5d5cd3da93ca651ebda.tar.gz emacs-ba6e7232d0324a52be4cd5d5cd3da93ca651ebda.zip | |
Automatically regenerate emacs.1 and *.rc files
* Makefile.in (CONFIG_STATUS_FILES_IN): New variable, lists
non-Makefile files produced by config.status.
($(MAKEFILE_NAME)): Depend on $(CONFIG_STATUS_FILES_IN), so that
their targets are regenerated when the source changes.
| -rw-r--r-- | Makefile.in | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/Makefile.in b/Makefile.in index 807a40a2844..2cc41feb462 100644 --- a/Makefile.in +++ b/Makefile.in | |||
| @@ -307,6 +307,11 @@ SUBDIR = $(NTDIR) lib lib-src src lisp | |||
| 307 | SUBDIR_MAKEFILES_IN = @SUBDIR_MAKEFILES_IN@ | 307 | SUBDIR_MAKEFILES_IN = @SUBDIR_MAKEFILES_IN@ |
| 308 | SUBDIR_MAKEFILES = $(patsubst ${srcdir}/%,%,${SUBDIR_MAKEFILES_IN:.in=}) | 308 | SUBDIR_MAKEFILES = $(patsubst ${srcdir}/%,%,${SUBDIR_MAKEFILES_IN:.in=}) |
| 309 | 309 | ||
| 310 | # Non-makefile files created by config.status. | ||
| 311 | CONFIG_STATUS_FILES_IN = \ | ||
| 312 | ${srcdir}/nt/emacs.rc.in ${srcdir}/nt/emacsclient.rc.in \ | ||
| 313 | ${srcdir}/doc/man/emacs.1.in | ||
| 314 | |||
| 310 | # Subdirectories to install, and where they'll go. lib-src's and nt's | 315 | # Subdirectories to install, and where they'll go. lib-src's and nt's |
| 311 | # makefiles know how to install them, so we don't do that here. | 316 | # makefiles know how to install them, so we don't do that here. |
| 312 | # Directories that cannot simply be copied, eg info, are treated | 317 | # Directories that cannot simply be copied, eg info, are treated |
| @@ -424,7 +429,7 @@ blessmail: Makefile src | |||
| 424 | # etc. to be built without running into similar recursion problems. | 429 | # etc. to be built without running into similar recursion problems. |
| 425 | MAKEFILE_NAME = Makefile | 430 | MAKEFILE_NAME = Makefile |
| 426 | $(MAKEFILE_NAME): config.status $(srcdir)/src/config.in \ | 431 | $(MAKEFILE_NAME): config.status $(srcdir)/src/config.in \ |
| 427 | $(srcdir)/Makefile.in $(SUBDIR_MAKEFILES_IN) | 432 | $(srcdir)/Makefile.in $(SUBDIR_MAKEFILES_IN) $(CONFIG_STATUS_FILES_IN) |
| 428 | MAKE='$(MAKE)' ./config.status | 433 | MAKE='$(MAKE)' ./config.status |
| 429 | 434 | ||
| 430 | # Don't erase these files if make is interrupted while refreshing them. | 435 | # Don't erase these files if make is interrupted while refreshing them. |