summaryrefslogtreecommitdiff
path: root/lib/libform
diff options
context:
space:
mode:
authorIngo Schwarze <schwarze@cvs.openbsd.org>2011-06-23 22:46:14 +0000
committerIngo Schwarze <schwarze@cvs.openbsd.org>2011-06-23 22:46:14 +0000
commit6df0b771ebcb3566414373edef220a0f6a17efbf (patch)
tree060687da02a3942a5d62fad96ed7361473923eca /lib/libform
parent3aaf059f30fb2abae9da3dd76d1cdde748e7fed7 (diff)
switch to installing source manuals (base part)
discussed with lots of people, tested by naddy@, "move fast" deraadt@
Diffstat (limited to 'lib/libform')
-rw-r--r--lib/libform/Makefile6
1 files changed, 5 insertions, 1 deletions
diff --git a/lib/libform/Makefile b/lib/libform/Makefile
index aff6219ef33..40ef29860b0 100644
--- a/lib/libform/Makefile
+++ b/lib/libform/Makefile
@@ -10,7 +10,7 @@ SRCS= fld_arg.c fld_attr.c fld_current.c fld_def.c fld_dup.c fld_ftchoice.c \
f_trace.c
HDRS= form.h
CFLAGS+=-I${.CURDIR}/../libmenu -I${.CURDIR}/../libcurses
-MAN= form.3tbl form_cursor.3 form_data.3 form_driver.3 form_field.3 \
+MAN= form.3 form_cursor.3 form_data.3 form_driver.3 form_field.3 \
form_field_attributes.3 form_field_buffer.3 form_field_info.3 \
form_field_just.3 form_field_new.3 form_field_opts.3 \
form_field_userptr.3 form_field_validation.3 form_fieldtype.3 \
@@ -50,6 +50,7 @@ MLINKS+=form_cursor.3 pos_form_cursor.3 form_data.3 data_ahead.3 \
form_request_name.3 form_requestname.3 form_request_by_name.3 \
form_userptr.3 set_form_userptr.3 form_win.3 set_form_win.3 form_win.3 \
set_form_sub.3 form_win.3 form_sub.3 form_win.3 scale_form.3
+CLEANFILES+= form.3
includes:
@cd ${.CURDIR}; for i in ${HDRS}; do \
@@ -57,6 +58,9 @@ includes:
${INSTALL} ${INSTALL_COPY} -m 444 -o $(BINOWN) -g $(BINGRP) $$i \
${DESTDIR}/usr/include; done
+form.3: form.3tbl
+ cp ${.ALLSRC} ${.TARGET}
+
.include <bsd.own.mk>
afterinstall: