* Makefile.in (rebuild-error-tables): New intermediate target, avoids running
authorKen Raeburn <raeburn@mit.edu>
Thu, 30 Aug 2001 21:03:39 +0000 (21:03 +0000)
committerKen Raeburn <raeburn@mit.edu>
Thu, 30 Aug 2001 21:03:39 +0000 (21:03 +0000)
make in error_tables directory once for each generated header file we care
about.

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13703 dc483132-0cff-0310-8789-dd5450dbe970

src/include/ChangeLog
src/include/Makefile.in

index 660d49f9c9cc46f89e85e9420507700d59dcdb9d..8ebf2f3753e81ec93cd23664c0b076a51f178e33 100644 (file)
@@ -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.
index 29e79af6c616099644446dad5c01a10c00a091f5..9c02e8b962dddf5e899fb606e091b0031ce63e9e 100644 (file)
@@ -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