aboutsummaryrefslogtreecommitdiff
path: root/lib/ncurses/menu/Makefile
diff options
context:
space:
mode:
authorThomas Gellekum <tg@FreeBSD.org>2000-12-05 12:38:23 +0000
committerThomas Gellekum <tg@FreeBSD.org>2000-12-05 12:38:23 +0000
commit14eadf470368b15d250d2c1f7f12d3338c05a03c (patch)
tree66c494dcb99311257a2b3484cd04626d6fd437e8 /lib/ncurses/menu/Makefile
parent599654abba41b02d2bc163b196dc3b2d9ee81955 (diff)
downloadsrc-14eadf470368b15d250d2c1f7f12d3338c05a03c.tar.gz
src-14eadf470368b15d250d2c1f7f12d3338c05a03c.zip
Install manpages, including appropriate MLINKS.
Notes
Notes: svn path=/head/; revision=69618
Diffstat (limited to 'lib/ncurses/menu/Makefile')
-rw-r--r--lib/ncurses/menu/Makefile54
1 files changed, 54 insertions, 0 deletions
diff --git a/lib/ncurses/menu/Makefile b/lib/ncurses/menu/Makefile
index fabb36d0d016..eb8b5197330b 100644
--- a/lib/ncurses/menu/Makefile
+++ b/lib/ncurses/menu/Makefile
@@ -4,6 +4,7 @@
NCURSES=${.CURDIR}/../../contrib/ncurses
.PATH: ${NCURSES}/menu ${NCURSES}/include
+.PATH: ${NCURSES}/man
LIB= menu
AWK?= awk
@@ -24,4 +25,57 @@ ncurses_def.h: MKncurses_def.sh ncurses_defs
AWK=${AWK} sh ${NCURSES}/include/MKncurses_def.sh \
${NCURSES}/include/ncurses_defs > ncurses_def.h
+MAN3x= menu.3x menu_attribs.3x menu_attributes.3x menu_cursor.3x \
+ menu_driver.3x menu_format.3x menu_hook.3x menu_items.3x \
+ menu_mark.3x menu_new.3x menu_opts.3x menu_pattern.3x \
+ menu_post.3x menu_requestname.3x menu_spacing.3x \
+ menu_userptr.3x menu_win.3x mitem_current.3x mitem_name.3x \
+ mitem_new.3x mitem_opts.3x mitem_userptr.3x mitem_value.3x \
+ mitem_visible.3x
+
+# Generate the MAN3 list from MAN3x
+.for page in ${MAN3x}
+CLEANFILES+=${page:T:S/3x$/3/g}
+MAN3+=${page:T:S/3x$/3/g}
+all-man: ${page:T:S/3x$/3/g}
+${page:T:S/3x$/3/g}: ${page}
+ ln -s ${.ALLSRC} ${.TARGET}
+.endfor
+
+MLINKS+=menu_attributes.3 menu_back.3 menu_attributes.3 menu_fore.3 \
+ menu_attributes.3 menu_grey.3 menu_attributes.3 menu_pad.3 \
+ menu_attributes.3 set_menu_back.3 menu_attributes.3 set_menu_fore.3 \
+ menu_attributes.3 set_menu_grey.3 menu_attributes.3 set_menu_pad.3
+MLINKS+=menu_cursor.3 pos_menu_cursor.3
+MLINKS+=menu_format.3 set_menu_format.3
+MLINKS+=menu_hook.3 item_init.3 menu_hook.3 item_term.3 \
+ menu_hook.3 menu_init.3 menu_hook.3 menu_term.3 \
+ menu_hook.3 set_item_init.3 menu_hook.3 set_item_term.3 \
+ menu_hook.3 set_menu_init.3 menu_hook.3 set_menu_term.3
+MLINKS+=menu_items.3 item_count.3 menu_items.3 set_menu_items.3
+MLINKS+=menu_mark.3 set_menu_mark.3
+MLINKS+=menu_new.3 free_menu.3 menu_new.3 new_menu.3
+MLINKS+=menu_opts.3 menu_opts_off.3 menu_opts.3 menu_opts_on.3
+MLINKS+=menu_pattern.3 set_menu_pattern.3
+MLINKS+=menu_post.3 post_menu.3 menu_post.3 unpost_menu.3
+MLINKS+=menu_requestname.3 menu_request_by_name.3 \
+ menu_requestname.3 menu_request_name.3
+MLINKS+=menu_spacing.3 set_menu_spacing.3
+MLINKS+=menu_userptr.3 set_menu_userptr.3
+MLINKS+=menu_win.3 menu_sub.3 menu_win.3 scale_menu.3 \
+ menu_win.3 set_menu_sub.3 menu_win.3 set_menu_win.3
+MLINKS+=mitem_current.3 current_item.3 mitem_current.3 item_index.3 \
+ mitem_current.3 set_top_row.3 mitem_current.3 top_row.3 \
+ mitem_current.3 set_current_item.3
+MLINKS+=mitem_name.3 item_description.3 mitem_name.3 item_name.3
+MLINKS+=mitem_new.3 free_item.3 mitem_new.3 new_item.3
+MLINKS+=mitem_opts.3 item_opts.3 mitem_opts.3 item_opts_off.3 \
+ mitem_opts.3 item_opts_on.3 mitem_opts.3 set_item_opts.3 \
+ mitem_opts.3 set_menu_opts.3
+MLINKS+=mitem_userptr.3 item_userptr.3 mitem_userptr.3 set_item_userptr.3
+MLINKS+=mitem_value.3 item_value.3 mitem_value.3 set_item_value.3
+MLINKS+=mitem_visible.3 item_visible.3
+
.include <bsd.lib.mk>
+
+.SUFFIXES: .3x .3