[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] master ba6e723: Automatically regenerate emacs.1 and *.rc
From: |
Eli Zaretskii |
Subject: |
[Emacs-diffs] master ba6e723: Automatically regenerate emacs.1 and *.rc files |
Date: |
Sat, 18 Feb 2017 07:49:42 -0500 (EST) |
branch: master
commit ba6e7232d0324a52be4cd5d5cd3da93ca651ebda
Author: Eli Zaretskii <address@hidden>
Commit: Eli Zaretskii <address@hidden>
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.
---
Makefile.in | 7 ++++++-
1 file changed, 6 insertions(+), 1 deletion(-)
diff --git a/Makefile.in b/Makefile.in
index 807a40a..2cc41fe 100644
--- a/Makefile.in
+++ b/Makefile.in
@@ -307,6 +307,11 @@ SUBDIR = $(NTDIR) lib lib-src src lisp
SUBDIR_MAKEFILES_IN = @SUBDIR_MAKEFILES_IN@
SUBDIR_MAKEFILES = $(patsubst ${srcdir}/%,%,${SUBDIR_MAKEFILES_IN:.in=})
+# Non-makefile files created by config.status.
+CONFIG_STATUS_FILES_IN = \
+ ${srcdir}/nt/emacs.rc.in ${srcdir}/nt/emacsclient.rc.in \
+ ${srcdir}/doc/man/emacs.1.in
+
# Subdirectories to install, and where they'll go. lib-src's and nt's
# makefiles know how to install them, so we don't do that here.
# Directories that cannot simply be copied, eg info, are treated
@@ -424,7 +429,7 @@ blessmail: Makefile src
# etc. to be built without running into similar recursion problems.
MAKEFILE_NAME = Makefile
$(MAKEFILE_NAME): config.status $(srcdir)/src/config.in \
- $(srcdir)/Makefile.in $(SUBDIR_MAKEFILES_IN)
+ $(srcdir)/Makefile.in $(SUBDIR_MAKEFILES_IN) $(CONFIG_STATUS_FILES_IN)
MAKE='$(MAKE)' ./config.status
# Don't erase these files if make is interrupted while refreshing them.
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Emacs-diffs] master ba6e723: Automatically regenerate emacs.1 and *.rc files,
Eli Zaretskii <=