Use 'includes' instead of 'beforeinstall' target to install curses.h header
This commit is contained in:
parent
09dea4bd35
commit
1c43ef87de
|
@ -11,7 +11,7 @@ SRCS= addbytes.c addch.c addnstr.c box.c clear.c clrtobot.c clrtoeol.c \
|
|||
standout.c toucholap.c touchwin.c tscroll.c tstp.c tty.c unctrl.c
|
||||
MAN= curses.3
|
||||
|
||||
beforeinstall:
|
||||
includes:
|
||||
-cd ${.CURDIR}; cmp -s curses.h ${DESTDIR}/usr/include/curses.h > \
|
||||
/dev/null 2>&1 || \
|
||||
install -c -o ${BINOWN} -g ${BINGRP} -m 444 curses.h \
|
||||
|
|
Loading…
Reference in New Issue