diff options
author | John Kohl <jtkohl@mit.edu> | 1989-05-31 06:17:40 +0000 |
---|---|---|
committer | John Kohl <jtkohl@mit.edu> | 1989-05-31 06:17:40 +0000 |
commit | c1a79e683090054171e30e08b899e166103374df (patch) | |
tree | 46c9bbe887721cc2b87ecb3d38a98e933a589341 | |
parent | e5b0c5049398378485f359249dbae0855479dafa (diff) |
fix up rules for zephyr_err.h & krb_err.h to only change if they are different.
-rw-r--r-- | lib/Imakefile | 16 |
1 files changed, 12 insertions, 4 deletions
diff --git a/lib/Imakefile b/lib/Imakefile index f238ccb..c206fa9 100644 --- a/lib/Imakefile +++ b/lib/Imakefile @@ -211,13 +211,21 @@ all:: #ifdef KERBEROS depend:: krb_err.h - $(RM) ../include/zephyr/krb_err.h - $(CP) -p krb_err.h ../include/zephyr/krb_err.h + -if cmp krb_err.h ../include/zephyr/krb_err.h >/dev/null 2>&1; then \ + echo ; \ + else \ + $(RM) ../include/zephyr/krb_err.h ; \ + $(CP) krb_err.h ../include/zephyr/krb_err.h; \ + fi #endif /* KERBEROS */ depend:: zephyr_err.h - $(RM) ../include/zephyr/zephyr_err.h - $(CP) -p zephyr_err.h ../include/zephyr/zephyr_err.h + -if cmp zephyr_err.h ../include/zephyr/zephyr_err.h >/dev/null 2>&1; then \ + echo ; \ + else \ + $(RM) ../include/zephyr/zephyr_err.h ; \ + $(CP) zephyr_err.h ../include/zephyr/zephyr_err.h; \ + fi install:: -mkdir ${DESTDIR}/usr/include/zephyr |