Use "standard" error table processing rules
authorKen Raeburn <raeburn@mit.edu>
Wed, 15 Jan 2003 03:31:47 +0000 (03:31 +0000)
committerKen Raeburn <raeburn@mit.edu>
Wed, 15 Jan 2003 03:31:47 +0000 (03:31 +0000)
* Makefile.in (krb_err.et, kadm_err.et): New intermediate targets; copy files
from lib/krb4.
(krb_err.h, kadm_err.h): Delete actions, use patterns in pre.in.
(clean-unix): Delete these generated files.

ticket: 1209
status: resolved

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

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

index 3c51cea3932d8312e0e27e4c4d777b029aa3cefe..e482799f80dc6e0017a1091730472b40ccf69824 100644 (file)
@@ -1,3 +1,10 @@
+2003-01-14  Ken Raeburn  <raeburn@mit.edu>
+
+       * Makefile.in (krb_err.et, kadm_err.et): New intermediate targets;
+       copy files from lib/krb4.
+       (krb_err.h, kadm_err.h): Delete actions, use patterns in pre.in.
+       (clean-unix): Delete these generated files.
+
 2002-12-12  Tom Yu  <tlyu@mit.edu>
 
        * krb.h: Change _WINDOWS->_WIN32.  Add symbols for
index fc4fb02f5a3f3deead06e381ce01e9c6dbf83bfc..d81c88c13fe30d324e88a67f285ace3704604f29 100644 (file)
@@ -7,13 +7,18 @@ KRB4_HEADERS=krb.h des.h mit-copyright.h
 
 all-unix:: krb_err.h
 
-krb_err.h: $(SRCTOP)/lib/krb4/krb_err.et
-       $(AWK) -f $(SRCTOP)/util/et/et_h.awk outfile=$@ \
-               $(SRCTOP)/lib/krb4/krb_err.et
+krb_err.h: krb_err.et
+krb_err.et: $(SRCTOP)/lib/krb4/krb_err.et
+       $(RM) krb_err.et
+       $(CP) $(SRCTOP)/lib/krb4/krb_err.et krb_err.et
 
-kadm_err.h: $(SRCTOP)/lib/krb4/kadm_err.et
-       $(AWK) -f $(SRCTOP)/util/et/et_h.awk outfile=$@ \
-               $(SRCTOP)/lib/krb4/kadm_err.et
+kadm_err.h: kadm_err.et
+kadm_err.et: $(SRCTOP)/lib/krb4/kadm_err.et
+       $(RM) kadm_err.et
+       $(CP) $(SRCTOP)/lib/krb4/kadm_err.et kadm_err.et
+
+clean-unix::
+       $(RM) krb_err.et kadm_err.et krb_err.h kadm_err.h
 
 install-headers-unix install:: krb_err.h
        @set -x; for f in $(KRB4_HEADERS) ; \