aboutsummaryrefslogtreecommitdiff
path: root/lib/libncurses
diff options
context:
space:
mode:
authorPeter Wemm <peter@FreeBSD.org>1996-08-30 02:12:07 +0000
committerPeter Wemm <peter@FreeBSD.org>1996-08-30 02:12:07 +0000
commit345be915f703031e58f2dabb9878375701467fda (patch)
tree3319724cb0b02106aa2d4ce62b3e8052990efbfe /lib/libncurses
parent755a87206586f682e5bc6be33d68b35335715480 (diff)
Notes
Diffstat (limited to 'lib/libncurses')
-rw-r--r--lib/libncurses/Makefile13
1 files changed, 5 insertions, 8 deletions
diff --git a/lib/libncurses/Makefile b/lib/libncurses/Makefile
index e8bb8c43b280..dd32bad85c7e 100644
--- a/lib/libncurses/Makefile
+++ b/lib/libncurses/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