summaryrefslogtreecommitdiffstats
path: root/src/include
diff options
context:
space:
mode:
Diffstat (limited to 'src/include')
-rw-r--r--src/include/ChangeLog3
-rw-r--r--src/include/Makefile.in5
2 files changed, 6 insertions, 2 deletions
diff --git a/src/include/ChangeLog b/src/include/ChangeLog
index 660d49f9c..8ebf2f375 100644
--- a/src/include/ChangeLog
+++ b/src/include/ChangeLog
@@ -4,6 +4,9 @@
doesn't change the target file if the contents wouldn't be
altered, touch an auxiliary timestamp file to avoid re-running
autoheader all the time.
+ (rebuild-error-tables): New intermediate target, avoids running
+ make in error_tables directory once for each generated header file
+ we care about.
* fake-addrinfo.c (getnameinfo): Cast address argument to
gethostbyaddr.
diff --git a/src/include/Makefile.in b/src/include/Makefile.in
index 29e79af6c..9c02e8b96 100644
--- a/src/include/Makefile.in
+++ b/src/include/Makefile.in
@@ -37,13 +37,14 @@ krb5.h: krb5/autoconf.h $(srcdir)/krb5.hin krb5_err.h kdb5_err.h kv5m_err.h \
# Build the error table include files:
# adm_err.h asn1_err.h kdb5_err.h krb5_err.h kv5m_err.h
-adm_err.h asn1_err.h kdb5_err.h krb5_err.h kv5m_err.h: force
+adm_err.h asn1_err.h kdb5_err.h krb5_err.h kv5m_err.h: rebuild-error-tables
+rebuild-error-tables:
(cd ../lib/krb5/error_tables && $(MAKE) includes)
krb_err.h: kerberosIV/krb_err.h
$(RM) krb_err.h ; $(CP) kerberosIV/krb_err.h krb_err.h
kerberosIV/krb_err.h: all-recurse
-.PHONY: force
+.PHONY: force rebuild-error-tables
force:
adm_err.h: $(SRCTOP)/lib/krb5/error_tables/adm_err.et