diff options
author | ache <ache@FreeBSD.org> | 1995-02-15 20:59:13 +0000 |
---|---|---|
committer | ache <ache@FreeBSD.org> | 1995-02-15 20:59:13 +0000 |
commit | 72bb056bf5c7379b4955d64d801f264d02b5f73c (patch) | |
tree | 8c29f1fc0d3d338f7ee7925ddf108d0fb9791c53 /gnu/lib/libreadline | |
parent | 112385cf144f6c125fa3200a1ec36480be9edb47 (diff) | |
download | FreeBSD-src-72bb056bf5c7379b4955d64d801f264d02b5f73c.zip FreeBSD-src-72bb056bf5c7379b4955d64d801f264d02b5f73c.tar.gz |
Remove dir creating, done by mtree
Add missing file name for cmp
Diffstat (limited to 'gnu/lib/libreadline')
-rw-r--r-- | gnu/lib/libreadline/Makefile | 9 |
1 files changed, 2 insertions, 7 deletions
diff --git a/gnu/lib/libreadline/Makefile b/gnu/lib/libreadline/Makefile index 8c150f3..9a04868 100644 --- a/gnu/lib/libreadline/Makefile +++ b/gnu/lib/libreadline/Makefile @@ -1,4 +1,4 @@ -# $Id: Makefile,v 1.17 1994/12/06 03:15:02 ache Exp $ +# $Id: Makefile,v 1.18 1995/01/16 17:56:20 ache Exp $ CFLAGS+= -I${.CURDIR} -DVOID_SIGHANDLER -DHAVE_CONFIG_H @@ -15,14 +15,9 @@ LDADD+= -ltermcap SUBDIR+= doc beforeinstall: - @-if [ ! -d ${DESTDIR}/usr/include/readline ]; then \ - mkdir ${DESTDIR}/usr/include/readline; \ - chown ${BINOWN}.${BINGRP} ${DESTDIR}/usr/include/readline; \ - chmod 755 ${DESTDIR}/usr/include/readline; \ - fi cd ${.CURDIR}; \ for m in ${HEADERS} ; do \ - cmp -s $$m ${DESTDIR}/usr/include/readline || \ + cmp -s $$m ${DESTDIR}/usr/include/readline/$$m || \ install -c -o ${BINOWN} -g ${BINGRP} -m 444 \ $$m ${DESTDIR}/usr/include/readline ; \ done |