Browse Source

install curses.h from src/include

OPENBSD_2_0
deraadt 29 years ago
parent
commit
774cbf33e3
1 changed files with 7 additions and 0 deletions
  1. +7
    -0
      src/include/Makefile

+ 7
- 0
src/include/Makefile View File

@ -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 MFILES= float.h frame.h stdarg.h varargs.h
LFILES= errno.h fcntl.h syslog.h termios.h LFILES= errno.h fcntl.h syslog.h termios.h
CFILES= curses.h
DIRS= arpa protocols rpc rpcsvc DIRS= arpa protocols rpc rpcsvc
LDIRS= dev net netinet netccitt netiso netns nfs sys ufs vm LDIRS= dev net netinet netccitt netiso netns nfs sys ufs vm
@ -54,6 +55,12 @@ realinstall:
rm -f ${DESTDIR}/usr/include/$$i; \ rm -f ${DESTDIR}/usr/include/$$i; \
ln -s machine/$$i ${DESTDIR}/usr/include/$$i; \ ln -s machine/$$i ${DESTDIR}/usr/include/$$i; \
done 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 chown -R ${BINOWN}:${BINGRP} ${DESTDIR}/usr/include
find ${DESTDIR}/usr/include -type f | \ find ${DESTDIR}/usr/include -type f | \
xargs chmod a=r xargs chmod a=r


Loading…
Cancel
Save