* Makefile.in: Fix up includes handling somewhat
authorTom Yu <tlyu@mit.edu>
Wed, 4 Dec 2002 06:34:59 +0000 (06:34 +0000)
committerTom Yu <tlyu@mit.edu>
Wed, 4 Dec 2002 06:34:59 +0000 (06:34 +0000)
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@15024 dc483132-0cff-0310-8789-dd5450dbe970

src/lib/krb4/ChangeLog
src/lib/krb4/Makefile.in

index 87021912e91a957954bd7ecfb842f7dd7e2801e8..1b61636c28994b8066ac6467f99f0515e0dd9efe 100644 (file)
@@ -1,3 +1,7 @@
+2002-12-04  Tom Yu  <tlyu@mit.edu>
+
+       * Makefile.in: Fix up includes handling somewhat.
+
 2002-12-02  Tom Yu  <tlyu@mit.edu>
 
        * change_password.c: Remove netdb.h inclusion.
index 3573b5a88a824566527670e0611157dd0372f8c6..8f3f46596f4be70214050f80866ecf79e0d61e65 100644 (file)
@@ -201,7 +201,7 @@ all-unix:: krb_err.h kadm_err.h includes all-liblinks
 ##DOS##LIBOBJS = $(OBJS)
 
 # comp_et_depend(krb_err)
-krb_err.h:: krb_err.et
+krb_err.h: krb_err.et
 krb_err.c: krb_err.et
 
 kadm_err.h: kadm_err.et
@@ -210,19 +210,12 @@ kadm_err.c: kadm_err.et
 depend:: krb_err.h kadm_err.h
 depend:: $(CODE) 
 
-includes:: krb_err.h
-       if cmp krb_err.h $(EHDRDIR)/krb_err.h >/dev/null 2>&1; then :; \
-       else \
-               (set -x; $(RM) $(EHDRDIR)/krb_err.h; \
-                $(CP) krb_err.h $(EHDRDIR)/krb_err.h) ; \
-       fi
-
-includes:: kadm_err.h
-       if cmp kadm_err.h $(EHDRDIR)/kadm_err.h >/dev/null 2>&1; then :; \
-       else \
-               (set -x; $(RM) $(EHDRDIR)/kadm_err.h; \
-                $(CP) kadm_err.h $(EHDRDIR)/kadm_err.h) ; \
-       fi
+includes: $(EHDRDIR)$(S)krb_err.h $(EHDRDIR)$(S)kadm_err.h
+
+$(EHDRDIR)$(S)krb_err.h: krb_err.h
+       $(CP) krb_err.h $@
+$(EHDRDIR)$(S)kadm_err.h: kadm_err.h
+       $(CP) kadm_err.h $@
 
 clean-unix::
        $(RM) $(EHDRDIR)/krb_err.h