diff options
author | peter <peter@FreeBSD.org> | 1996-08-30 02:12:07 +0000 |
---|---|---|
committer | peter <peter@FreeBSD.org> | 1996-08-30 02:12:07 +0000 |
commit | 3f709de38ccdb0b9e54ac5c652cac186e7aa7f80 (patch) | |
tree | 3319724cb0b02106aa2d4ce62b3e8052990efbfe /lib/ncurses | |
parent | 63fc84178443fce428256e82bde4c6e8e0d728bb (diff) | |
download | FreeBSD-src-3f709de38ccdb0b9e54ac5c652cac186e7aa7f80.zip FreeBSD-src-3f709de38ccdb0b9e54ac5c652cac186e7aa7f80.tar.gz |
cmp -s || install -c ==> install -C
Diffstat (limited to 'lib/ncurses')
-rw-r--r-- | lib/ncurses/ncurses/Makefile | 13 |
1 files changed, 5 insertions, 8 deletions
diff --git a/lib/ncurses/ncurses/Makefile b/lib/ncurses/ncurses/Makefile index e8bb8c4..dd32bad 100644 --- a/lib/ncurses/ncurses/Makefile +++ b/lib/ncurses/ncurses/Makefile @@ -1,5 +1,5 @@ # Makefile for ncurses -# $Id: Makefile,v 1.16 1996/05/27 22:58:29 wosch Exp $ +# $Id: Makefile,v 1.17 1996/08/26 09:25:20 peter Exp $ LIB= ncurses SHLIB_MAJOR= 3 @@ -23,13 +23,10 @@ CLEANFILES+= lib_keyname.c keys.tries beforedepend: keys.tries beforeinstall: - @cd ${.CURDIR}; for i in unctrl.h; do \ - cmp -s $$i ${DESTDIR}/usr/include/$$i || \ - $(INSTALL) -c -m 444 -o $(BINOWN) -g $(BINGRP) $$i \ - ${DESTDIR}/usr/include; done - @cd ${.CURDIR}; cmp -s curses.h ${DESTDIR}/usr/include/ncurses.h || \ - $(INSTALL) -c -m 444 -o $(BINOWN) -g $(BINGRP) curses.h \ - ${DESTDIR}/usr/include/ncurses.h + ${INSTALL} -C -m 444 -o $(BINOWN) -g $(BINGRP) ${.CURDIR}/unctrl.h \ + ${DESTDIR}/usr/include + ${INSTALL} -C -m 444 -o $(BINOWN) -g $(BINGRP) ${.CURDIR}/curses.h \ + ${DESTDIR}/usr/include/ncurses.h keys.tries: ${.CURDIR}/keys.list ${.CURDIR}/MKkeys.awk awk -f ${.CURDIR}/MKkeys.awk ${.CURDIR}/keys.list > keys.tries |