summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorRichard Basch <probe@mit.edu>1997-02-20 22:44:28 +0000
committerRichard Basch <probe@mit.edu>1997-02-20 22:44:28 +0000
commite1bb30327997f2ac32cab9e10424b1aa80985d6a (patch)
tree1ace73e2573927ad86322733a91168c65aa4aede /src
parent89952888dec33b5bb2d07424c250d8388f331a1e (diff)
downloadkrb5-e1bb30327997f2ac32cab9e10424b1aa80985d6a.tar.gz
krb5-e1bb30327997f2ac32cab9e10424b1aa80985d6a.tar.xz
krb5-e1bb30327997f2ac32cab9e10424b1aa80985d6a.zip
Makefile.in: krb_err.h is a generated file; fix build/install rules so
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
Diffstat (limited to 'src')
-rw-r--r--src/include/kerberosIV/ChangeLog6
-rw-r--r--src/include/kerberosIV/Makefile.in13
-rw-r--r--src/include/kerberosIV/configure.in1
3 files changed, 14 insertions, 6 deletions
diff --git a/src/include/kerberosIV/ChangeLog b/src/include/kerberosIV/ChangeLog
index 75c900502a..0b820c6112 100644
--- a/src/include/kerberosIV/ChangeLog
+++ b/src/include/kerberosIV/ChangeLog
@@ -1,3 +1,9 @@
+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
diff --git a/src/include/kerberosIV/Makefile.in b/src/include/kerberosIV/Makefile.in
index 0e4705ff2c..e0959b3d2d 100644
--- a/src/include/kerberosIV/Makefile.in
+++ b/src/include/kerberosIV/Makefile.in
@@ -1,14 +1,15 @@
-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
diff --git a/src/include/kerberosIV/configure.in b/src/include/kerberosIV/configure.in
index f9dafe7fd1..1d62954b13 100644
--- a/src/include/kerberosIV/configure.in
+++ b/src/include/kerberosIV/configure.in
@@ -1,4 +1,5 @@
AC_INIT(configure.in)
CONFIG_RULES
+AC_PROG_AWK
AC_PROG_INSTALL
V5_AC_OUTPUT_MAKEFILE