summaryrefslogtreecommitdiff
path: root/lib/libmenu/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'lib/libmenu/Makefile')
-rw-r--r--lib/libmenu/Makefile8
1 files changed, 6 insertions, 2 deletions
diff --git a/lib/libmenu/Makefile b/lib/libmenu/Makefile
index 38b53d5463d..22deff91f5a 100644
--- a/lib/libmenu/Makefile
+++ b/lib/libmenu/Makefile
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile,v 1.13 2010/09/06 17:26:17 nicm Exp $
+# $OpenBSD: Makefile,v 1.14 2011/06/23 22:46:12 schwarze Exp $
LIB= menu
WANTLINT=
@@ -9,7 +9,7 @@ SRCS= m_attribs.c m_cursor.c m_driver.c m_format.c \
m_req_name.c m_scale.c m_spacing.c m_sub.c m_trace.c m_userptr.c m_win.c
HDRS= menu.h eti.h
CFLAGS+=-I${.CURDIR} -I${.CURDIR}/../libcurses -DHAVE_CONFIG_H
-MAN= menu.3tbl menu_attributes.3 menu_cursor.3 menu_driver.3 menu_format.3 \
+MAN= menu.3 menu_attributes.3 menu_cursor.3 menu_driver.3 menu_format.3 \
menu_hook.3 menu_items.3 menu_mark.3 menu_new.3 menu_opts.3 \
menu_pattern.3 menu_post.3 menu_requestname.3 menu_spacing.3 \
menu_userptr.3 menu_win.3 mitem_current.3 mitem_name.3 mitem_new.3 \
@@ -41,6 +41,7 @@ MLINKS= menu_attributes.3 set_menu_fore.3 menu_attributes.3 menu_fore.3 \
mitem_opts.3 item_opts.3 mitem_userptr.3 set_item_userptr.3 \
mitem_userptr.3 item_userptr.3 mitem_value.3 set_item_value.3 \
mitem_value.3 item_value.3 mitem_visible.3 item_visible.3
+CLEANFILES+= menu.3
includes:
@cd ${.CURDIR}; for i in ${HDRS}; do \
@@ -48,6 +49,9 @@ includes:
${INSTALL} ${INSTALL_COPY} -m 444 -o $(BINOWN) -g $(BINGRP) $$i \
${DESTDIR}/usr/include; done
+menu.3: menu.3tbl
+ cp ${.ALLSRC} ${.TARGET}
+
.include <bsd.own.mk>
afterinstall: