diff options
author | pst <pst@FreeBSD.org> | 1994-11-01 09:13:02 +0000 |
---|---|---|
committer | pst <pst@FreeBSD.org> | 1994-11-01 09:13:02 +0000 |
commit | ad211229f081e45c80094fd7961d86ac5f55f4e9 (patch) | |
tree | 0d72124f81c28cc403af4e7998b60da4f209f897 | |
parent | a91c2070431f5cfa39358429836c195e49f108f4 (diff) | |
download | FreeBSD-src-ad211229f081e45c80094fd7961d86ac5f55f4e9.zip FreeBSD-src-ad211229f081e45c80094fd7961d86ac5f55f4e9.tar.gz |
Don't reinstall includes when not necessary
-rw-r--r-- | gnu/lib/libreadline/Makefile | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/gnu/lib/libreadline/Makefile b/gnu/lib/libreadline/Makefile index 87bed66..f6963d9 100644 --- a/gnu/lib/libreadline/Makefile +++ b/gnu/lib/libreadline/Makefile @@ -1,4 +1,4 @@ -# $Id: Makefile,v 1.13 1994/06/12 08:50:39 ache Exp $ +# $Id: Makefile,v 1.14 1994/10/12 02:01:54 ache Exp $ CFLAGS+= -I${.CURDIR} -DVOID_SIGHANDLER \ @@ -20,7 +20,10 @@ beforeinstall: chmod 755 ${DESTDIR}/usr/include/readline; \ fi cd ${.CURDIR}/readline; \ - install -c -o ${BINOWN} -g ${BINGRP} -m 444 \ - ${HEADERS} ${DESTDIR}/usr/include/readline + for m in ${HEADERS} ; do \ + cmp -s $m ${DESTDIR}/usr/include/readline || \ + install -c -o ${BINOWN} -g ${BINGRP} -m 444 \ + $m ${DESTDIR}/usr/include/readline ; \ + done .include <bsd.lib.mk> |