summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authortg <tg@FreeBSD.org>2000-12-05 12:38:23 +0000
committertg <tg@FreeBSD.org>2000-12-05 12:38:23 +0000
commitddde649e30608a94a2a4058b834995cec9cb4799 (patch)
treeb004ff4cd1bbd447a4b628dba201288c8e5e6673 /lib
parent25d6961779194edb26e2a41e7724ea01c6adf229 (diff)
downloadFreeBSD-src-ddde649e30608a94a2a4058b834995cec9cb4799.zip
FreeBSD-src-ddde649e30608a94a2a4058b834995cec9cb4799.tar.gz
Install manpages, including appropriate MLINKS.
Diffstat (limited to 'lib')
-rw-r--r--lib/libform/Makefile66
-rw-r--r--lib/libmenu/Makefile54
-rw-r--r--lib/libpanel/Makefile17
-rw-r--r--lib/ncurses/form/Makefile66
-rw-r--r--lib/ncurses/menu/Makefile54
-rw-r--r--lib/ncurses/panel/Makefile17
6 files changed, 274 insertions, 0 deletions
diff --git a/lib/libform/Makefile b/lib/libform/Makefile
index a3d8179..e274b5b 100644
--- a/lib/libform/Makefile
+++ b/lib/libform/Makefile
@@ -5,6 +5,7 @@ NCURSES=${.CURDIR}/../../contrib/ncurses
.PATH: ${NCURSES}/form
.PATH: ${NCURSES}/include
+.PATH: ${NCURSES}/man
LIB= form
AWK?= awk
@@ -27,4 +28,69 @@ ncurses_def.h: MKncurses_def.sh ncurses_defs
AWK=${AWK} sh ${NCURSES}/include/MKncurses_def.sh \
${NCURSES}/include/ncurses_defs > ncurses_def.h
+MAN3x= form.3x form_cursor.3x form_data.3x form_driver.3x \
+ form_field.3x form_field_attributes.3x form_field_buffer.3x \
+ form_field_info.3x form_field_just.3x form_field_new.3x \
+ form_field_opts.3x form_field_userptr.3x \
+ form_field_validation.3x form_fieldtype.3x form_hook.3x \
+ form_new.3x form_new_page.3x form_opts.3x form_page.3x \
+ form_post.3x form_requestname.3x form_userptr.3x form_win.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+=form_cursor.3 pos_form_cursor.3
+MLINKS+=form_data.3 data_ahead.3 form_data.3 data_behind.3
+MLINKS+=form_field.3 field_count.3 form_field.3 form_fields.3 \
+ form_field.3 move_field.3 form_field.3 set_form_fields.3
+MLINKS+=form_field_attributes.3 field_back.3 \
+ form_field_attributes.3 field_fore.3 \
+ form_field_attributes.3 field_pad.3 \
+ form_field_attributes.3 set_field_back.3 \
+ form_field_attributes.3 set_field_fore.3 \
+ form_field_attributes.3 set_field_pad.3
+MLINKS+=form_field_buffer.3 field_buffer.3 \
+ form_field_buffer.3 field_status.3 \
+ form_field_buffer.3 set_field_buffer.3 \
+ form_field_buffer.3 set_field_status.3 \
+ form_field_buffer.3 set_max_field.3
+MLINKS+=form_field_info.3 dynamic_fieldinfo.3 form_field_info.3 field_info.3
+MLINKS+=form_field_just.3 field_just.3 form_field_just.3 set_field_just.3
+MLINKS+=form_field_new.3 dup_field.3 form_field_new.3 free_field.3 \
+ form_field_new.3 link_field.3 form_field_new.3 new_field.3
+MLINKS+=form_field_opts.3 field_opts.3 form_field_opts.3 field_opts_off.3 \
+ form_field_opts.3 field_opts_on.3 form_field_opts.3 set_field_opts.3 \
+ form_field_opts.3 set_form_opts.3
+MLINKS+=form_field_userptr.3 field_userptr.3 \
+ form_field_userptr.3 set_field_userptr.3
+MLINKS+=form_field_validation.3 field_arg.3 \
+ form_field_validation.3 field_type.3 \
+ form_field_validation.3 set_field_type.3
+MLINKS+=form_fieldtype.3 link_fieldtype.3 \
+ form_fieldtype.3 set_fieldtype_arg.3 \
+ form_fieldtype.3 set_fieldtype_choice.3
+MLINKS+=form_hook.3 field_init.3 form_hook.3 field_term.3 \
+ form_hook.3 form_init.3 form_hook.3 form_term.3 \
+ form_hook.3 set_field_init.3 form_hook.3 set_field_term.3 \
+ form_hook.3 set_form_init.3 form_hook.3 set_form_term.3
+MLINKS+=form_new.3 free_form.3 form_new.3 new_form.3
+MLINKS+=form_new_page.3 new_page.3 form_new_page.3 set_new_page.3
+MLINKS+=form_opts.3 form_opts_off.3 form_opts.3 form_opts_on.3
+MLINKS+=form_page.3 current_field.3 form_page.3 field_index.3 \
+ form_page.3 set_current_field.3 form_page.3 set_form_page.3
+MLINKS+=form_post.3 post_form.3 form_post.3 unpost_form.3
+MLINKS+=form_requestname.3 form_request_by_name.3 \
+ form_requestname.3 form_request_name.3
+MLINKS+=form_userptr.3 set_form_userptr.3
+MLINKS+=form_win.3 form_sub.3 form_win.3 scale_form.3 \
+ form_win.3 set_form_sub.3 form_win.3 set_form_win.3
+
.include <bsd.lib.mk>
+
+.SUFFIXES: .3x .3
diff --git a/lib/libmenu/Makefile b/lib/libmenu/Makefile
index fabb36d..eb8b519 100644
--- a/lib/libmenu/Makefile
+++ b/lib/libmenu/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
diff --git a/lib/libpanel/Makefile b/lib/libpanel/Makefile
index 669d649..c6c99f1 100644
--- a/lib/libpanel/Makefile
+++ b/lib/libpanel/Makefile
@@ -4,6 +4,7 @@
NCURSES=${.CURDIR}/../../contrib/ncurses
.PATH: ${NCURSES}/panel ${NCURSES}/include
+.PATH: ${NCURSES}/man
LIB= panel
AWK?= awk
@@ -22,4 +23,20 @@ ncurses_def.h: MKncurses_def.sh ncurses_defs
AWK=${AWK} sh ${NCURSES}/include/MKncurses_def.sh \
${NCURSES}/include/ncurses_defs > ncurses_def.h
+# generate MAN3
+CLEANFILES+= panel.3
+MAN3= panel.3
+all-man: panel.3
+panel.3: panel.3x
+ ln -s ${.ALLSRC} ${.TARGET}
+
+MLINKS+=panel.3 bottom_panel.3 panel.3 del_panel.3 panel.3 hide_panel.3 \
+ panel.3 move_panel.3 panel.3 new_panel.3 panel.3 panel_above.3 \
+ panel.3 panel_below.3 panel.3 panel_hidden.3 \
+ panel.3 panel_userptr.3 panel.3 panel_window.3 \
+ panel.3 replace_panel.3 panel.3 set_panel_userptr.3 \
+ panel.3 show_panel.3 panel.3 top_panel.3 panel.3 update_panels.3
+
.include <bsd.lib.mk>
+
+.SUFFIXES: .3x .3
diff --git a/lib/ncurses/form/Makefile b/lib/ncurses/form/Makefile
index a3d8179..e274b5b 100644
--- a/lib/ncurses/form/Makefile
+++ b/lib/ncurses/form/Makefile
@@ -5,6 +5,7 @@ NCURSES=${.CURDIR}/../../contrib/ncurses
.PATH: ${NCURSES}/form
.PATH: ${NCURSES}/include
+.PATH: ${NCURSES}/man
LIB= form
AWK?= awk
@@ -27,4 +28,69 @@ ncurses_def.h: MKncurses_def.sh ncurses_defs
AWK=${AWK} sh ${NCURSES}/include/MKncurses_def.sh \
${NCURSES}/include/ncurses_defs > ncurses_def.h
+MAN3x= form.3x form_cursor.3x form_data.3x form_driver.3x \
+ form_field.3x form_field_attributes.3x form_field_buffer.3x \
+ form_field_info.3x form_field_just.3x form_field_new.3x \
+ form_field_opts.3x form_field_userptr.3x \
+ form_field_validation.3x form_fieldtype.3x form_hook.3x \
+ form_new.3x form_new_page.3x form_opts.3x form_page.3x \
+ form_post.3x form_requestname.3x form_userptr.3x form_win.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+=form_cursor.3 pos_form_cursor.3
+MLINKS+=form_data.3 data_ahead.3 form_data.3 data_behind.3
+MLINKS+=form_field.3 field_count.3 form_field.3 form_fields.3 \
+ form_field.3 move_field.3 form_field.3 set_form_fields.3
+MLINKS+=form_field_attributes.3 field_back.3 \
+ form_field_attributes.3 field_fore.3 \
+ form_field_attributes.3 field_pad.3 \
+ form_field_attributes.3 set_field_back.3 \
+ form_field_attributes.3 set_field_fore.3 \
+ form_field_attributes.3 set_field_pad.3
+MLINKS+=form_field_buffer.3 field_buffer.3 \
+ form_field_buffer.3 field_status.3 \
+ form_field_buffer.3 set_field_buffer.3 \
+ form_field_buffer.3 set_field_status.3 \
+ form_field_buffer.3 set_max_field.3
+MLINKS+=form_field_info.3 dynamic_fieldinfo.3 form_field_info.3 field_info.3
+MLINKS+=form_field_just.3 field_just.3 form_field_just.3 set_field_just.3
+MLINKS+=form_field_new.3 dup_field.3 form_field_new.3 free_field.3 \
+ form_field_new.3 link_field.3 form_field_new.3 new_field.3
+MLINKS+=form_field_opts.3 field_opts.3 form_field_opts.3 field_opts_off.3 \
+ form_field_opts.3 field_opts_on.3 form_field_opts.3 set_field_opts.3 \
+ form_field_opts.3 set_form_opts.3
+MLINKS+=form_field_userptr.3 field_userptr.3 \
+ form_field_userptr.3 set_field_userptr.3
+MLINKS+=form_field_validation.3 field_arg.3 \
+ form_field_validation.3 field_type.3 \
+ form_field_validation.3 set_field_type.3
+MLINKS+=form_fieldtype.3 link_fieldtype.3 \
+ form_fieldtype.3 set_fieldtype_arg.3 \
+ form_fieldtype.3 set_fieldtype_choice.3
+MLINKS+=form_hook.3 field_init.3 form_hook.3 field_term.3 \
+ form_hook.3 form_init.3 form_hook.3 form_term.3 \
+ form_hook.3 set_field_init.3 form_hook.3 set_field_term.3 \
+ form_hook.3 set_form_init.3 form_hook.3 set_form_term.3
+MLINKS+=form_new.3 free_form.3 form_new.3 new_form.3
+MLINKS+=form_new_page.3 new_page.3 form_new_page.3 set_new_page.3
+MLINKS+=form_opts.3 form_opts_off.3 form_opts.3 form_opts_on.3
+MLINKS+=form_page.3 current_field.3 form_page.3 field_index.3 \
+ form_page.3 set_current_field.3 form_page.3 set_form_page.3
+MLINKS+=form_post.3 post_form.3 form_post.3 unpost_form.3
+MLINKS+=form_requestname.3 form_request_by_name.3 \
+ form_requestname.3 form_request_name.3
+MLINKS+=form_userptr.3 set_form_userptr.3
+MLINKS+=form_win.3 form_sub.3 form_win.3 scale_form.3 \
+ form_win.3 set_form_sub.3 form_win.3 set_form_win.3
+
.include <bsd.lib.mk>
+
+.SUFFIXES: .3x .3
diff --git a/lib/ncurses/menu/Makefile b/lib/ncurses/menu/Makefile
index fabb36d..eb8b519 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
diff --git a/lib/ncurses/panel/Makefile b/lib/ncurses/panel/Makefile
index 669d649..c6c99f1 100644
--- a/lib/ncurses/panel/Makefile
+++ b/lib/ncurses/panel/Makefile
@@ -4,6 +4,7 @@
NCURSES=${.CURDIR}/../../contrib/ncurses
.PATH: ${NCURSES}/panel ${NCURSES}/include
+.PATH: ${NCURSES}/man
LIB= panel
AWK?= awk
@@ -22,4 +23,20 @@ ncurses_def.h: MKncurses_def.sh ncurses_defs
AWK=${AWK} sh ${NCURSES}/include/MKncurses_def.sh \
${NCURSES}/include/ncurses_defs > ncurses_def.h
+# generate MAN3
+CLEANFILES+= panel.3
+MAN3= panel.3
+all-man: panel.3
+panel.3: panel.3x
+ ln -s ${.ALLSRC} ${.TARGET}
+
+MLINKS+=panel.3 bottom_panel.3 panel.3 del_panel.3 panel.3 hide_panel.3 \
+ panel.3 move_panel.3 panel.3 new_panel.3 panel.3 panel_above.3 \
+ panel.3 panel_below.3 panel.3 panel_hidden.3 \
+ panel.3 panel_userptr.3 panel.3 panel_window.3 \
+ panel.3 replace_panel.3 panel.3 set_panel_userptr.3 \
+ panel.3 show_panel.3 panel.3 top_panel.3 panel.3 update_panels.3
+
.include <bsd.lib.mk>
+
+.SUFFIXES: .3x .3
OpenPOWER on IntegriCloud