summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>1995-10-24 10:06:46 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>1995-10-24 10:06:46 +0000
commit978548ddeb7b97fe47229240a9efd7dda0b2a408 (patch)
treee7f0e7ea16367b27da70cb6fe419c6bcbb835136 /include
parent4831736360c8e3d28319ed26792da546863a8c0a (diff)
install curses.h from src/include
Diffstat (limited to 'include')
-rw-r--r--include/Makefile7
1 files changed, 7 insertions, 0 deletions
diff --git a/include/Makefile b/include/Makefile
index 77f7d87e486..b87d98f8685 100644
--- a/include/Makefile
+++ b/include/Makefile
@@ -19,6 +19,7 @@ FILES= a.out.h ar.h assert.h bitstring.h bm.h ctype.h db.h dirent.h disktab.h \
MFILES= float.h frame.h stdarg.h varargs.h
LFILES= errno.h fcntl.h syslog.h termios.h
+CFILES= curses.h
DIRS= arpa protocols rpc rpcsvc
LDIRS= dev net netinet netccitt netiso netns nfs sys ufs vm
@@ -54,6 +55,12 @@ realinstall:
rm -f ${DESTDIR}/usr/include/$$i; \
ln -s machine/$$i ${DESTDIR}/usr/include/$$i; \
done
+ @echo installing ${CFILES}
+ @-for i in ${CFILES}; do \
+ cmp -s ../lib/libcurses/$$i ${DESTDIR}/usr/include/$$i || \
+ install -c -m 444 ../lib/libcurses/$$i \
+ ${DESTDIR}/usr/include/$$i; \
+ done
chown -R ${BINOWN}:${BINGRP} ${DESTDIR}/usr/include
find ${DESTDIR}/usr/include -type f | \
xargs chmod a=r