that they don't try installing it from the source directory
configure.in: Makefile requires 'awk' to build krb_err.h
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@9937
dc483132-0cff-0310-8789-
dd5450dbe970
+Thu Feb 20 17:38:23 1997 Richard Basch <basch@lehman.com>
+
+ * configure.in: awk is required by the Makefile
+ * Makefile.in: Re-arranged build/install rules because
+ krb_err.h is a generated file.
+
Mon Feb 17 13:59:41 1997 Richard Basch <basch@lehman.com>
* des.h: Added various function prototypes
-KRB4_HEADERS=krb.h des.h kadm.h mit-copyright.h \
- krb_err.h
+KRB4_HEADERS=krb.h des.h kadm.h mit-copyright.h
-all::
+all-unix:: krb_err.h
-clean::
-
-depend::
+krb_err.h: $(SRCTOP)/lib/krb4/krb_err.et
+ $(AWK) -f $(SRCTOP)/util/et/et_h.awk outfile=$@ \
+ $(SRCTOP)/lib/krb4/krb_err.et
install::
@set -x; for f in $(KRB4_HEADERS) ; \
do $(INSTALL_DATA) $(srcdir)/$$f $(DESTDIR)$(KRB5_INCDIR)/kerberosIV/$$f ; \
done
+install:: krb_err.h
+ $(INSTALL_DATA) $(C)krb_err.h $(DESTDIR)$(KRB5_INCDIR)$(S)kerberosIV$(S)krb_err.h
AC_INIT(configure.in)
CONFIG_RULES
+AC_PROG_AWK
AC_PROG_INSTALL
V5_AC_OUTPUT_MAKEFILE