Commit ba6e7232 authored by Eli Zaretskii's avatar Eli Zaretskii
Browse files

Automatically regenerate emacs.1 and *.rc files

* (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.
parent a848d36c
......@@ -307,6 +307,11 @@ SUBDIR = $(NTDIR) lib lib-src src lisp
SUBDIR_MAKEFILES = $(patsubst ${srcdir}/%,%,${})
# Non-makefile files created by config.status.
${srcdir}/nt/ ${srcdir}/nt/ \
# 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): config.status $(srcdir)/src/ \
MAKE='$(MAKE)' ./config.status
# Don't erase these files if make is interrupted while refreshing them.
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment