summaryrefslogtreecommitdiffstats
path: root/lib/libmenu
diff options
context:
space:
mode:
authorrgrimes <rgrimes@FreeBSD.org>2000-01-14 07:57:47 +0000
committerrgrimes <rgrimes@FreeBSD.org>2000-01-14 07:57:47 +0000
commitc127d0e61e914c6951d98986385ccb730b115cf9 (patch)
treee0bf2775a4898eda7838b05b1a539892d8ea781c /lib/libmenu
parent2801ff847ca9459d227f155a4dedd395b7d35a30 (diff)
downloadFreeBSD-src-c127d0e61e914c6951d98986385ccb730b115cf9.zip
FreeBSD-src-c127d0e61e914c6951d98986385ccb730b115cf9.tar.gz
Replace beforeinstall target with new variables used by .mk system.
Reviewed by: marcel, and make world
Diffstat (limited to 'lib/libmenu')
-rw-r--r--lib/libmenu/Makefile7
1 files changed, 1 insertions, 6 deletions
diff --git a/lib/libmenu/Makefile b/lib/libmenu/Makefile
index 11fb19d..e6ed97e 100644
--- a/lib/libmenu/Makefile
+++ b/lib/libmenu/Makefile
@@ -11,14 +11,9 @@ SRCS= m_attribs.c m_cursor.c m_driver.c m_format.c m_global.c m_hook.c \
m_item_cur.c m_item_nam.c m_item_new.c m_item_opt.c m_item_use.c \
m_item_val.c m_item_vis.c m_items.c m_new.c m_opts.c m_post.c \
m_req_name.c m_spacing.c m_userptr.c m_win.c
+INCS= ${NCURSES}/menu/menu.h ${NCURSES}/menu/eti.h
CFLAGS+= -I${.CURDIR}/../libncurses -I${NCURSES}/menu -I${NCURSES}/include \
-Wall -DNDEBUG -DHAVE_CONFIG_H
-beforeinstall:
-.for i in menu.h eti.h
- ${INSTALL} -c -o ${BINOWN} -g ${BINGRP} -m 444 ${NCURSES}/menu/$i \
- ${DESTDIR}/usr/include
-.endfor
-
.include <bsd.lib.mk>
OpenPOWER on IntegriCloud