From 774cbf33e3ef88e5cecc0044af4584bf8cb90996 Mon Sep 17 00:00:00 2001 From: deraadt <> Date: Tue, 24 Oct 1995 10:06:22 +0000 Subject: [PATCH] install curses.h from src/include --- src/include/Makefile | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/src/include/Makefile b/src/include/Makefile index 77f7d87e..b87d98f8 100644 --- a/src/include/Makefile +++ b/src/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