aboutsummaryrefslogtreecommitdiff
path: root/lib/ncurses/form/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/form/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/form/Makefile')
-rw-r--r--lib/ncurses/form/Makefile66
1 files changed, 66 insertions, 0 deletions
diff --git a/lib/ncurses/form/Makefile b/lib/ncurses/form/Makefile
index a3d81798469c..e274b5bb4e2d 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