From: Theodore Tso Date: Fri, 24 Mar 1995 22:26:49 +0000 (+0000) Subject: Add install rule for the error table headers X-Git-Tag: krb5-1.0-beta5~478 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=19d0adf1a7b57bcccf42d74a4d1f7f27f0733f83;p=krb5.git Add install rule for the error table headers git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5232 dc483132-0cff-0310-8789-dd5450dbe970 --- diff --git a/src/lib/krb5/error_tables/ChangeLog b/src/lib/krb5/error_tables/ChangeLog index 036c41eff..d2fe3ba37 100644 --- a/src/lib/krb5/error_tables/ChangeLog +++ b/src/lib/krb5/error_tables/ChangeLog @@ -1,3 +1,8 @@ +Fri Mar 24 14:25:15 1995 + + * Makefile.in (install): Add install rule for the error table + headers. + Tue Mar 21 21:06:06 1995 Theodore Y. Ts'o * Makefile.in (all-unix): The "includes" target is *not* obsolete; diff --git a/src/lib/krb5/error_tables/Makefile.in b/src/lib/krb5/error_tables/Makefile.in index 330e93864..526556dd0 100644 --- a/src/lib/krb5/error_tables/Makefile.in +++ b/src/lib/krb5/error_tables/Makefile.in @@ -37,6 +37,15 @@ awk-windows: if exist krb5_err.h copy krb5_err.h $(EHDRDIR) if exist adm_err.h copy adm_err.h $(EHDRDIR) if exist kv5m_err.h copy kv5m_err.h $(EHDRDIR) + +install:: $(HDRS) + @set -x; for f in $(HDRS) ; \ + do if cmp -s $$f $(DESTDIR)$(KRB5_INCDIR)/krb5/$$f; \ + then true; else \ + $(RM) $(DESTDIR)$(KRB5_INCDIR)/krb5/$$f; \ + cp $$f $(DESTDIR)$(KRB5_INCDIR)/krb5/$$f ; \ + fi; done + # # dependencies for traditional makes #