aboutsummaryrefslogtreecommitdiff
path: root/gnu
diff options
context:
space:
mode:
authorAlexey Zelkin <phantom@FreeBSD.org>2000-01-10 12:04:18 +0000
committerAlexey Zelkin <phantom@FreeBSD.org>2000-01-10 12:04:18 +0000
commit54294f449414011dfbfc8f2ccc7c56873d828333 (patch)
treef04c607d85844a95b310f2d7cc2d046ed5d08ad8 /gnu
parenta54f6976024b5c4d68e417bfc687ed6431c4264b (diff)
downloadsrc-54294f449414011dfbfc8f2ccc7c56873d828333.tar.gz
src-54294f449414011dfbfc8f2ccc7c56873d828333.zip
Install contents of the TESTS subdirectory to /usr/share/examples/libdialog
Notes
Notes: svn path=/head/; revision=55755
Diffstat (limited to 'gnu')
-rw-r--r--gnu/lib/libdialog/Makefile9
1 files changed, 9 insertions, 0 deletions
diff --git a/gnu/lib/libdialog/Makefile b/gnu/lib/libdialog/Makefile
index 89faa5c8b8c5..3b6342f2a844 100644
--- a/gnu/lib/libdialog/Makefile
+++ b/gnu/lib/libdialog/Makefile
@@ -10,6 +10,11 @@ SRCS= kernel.c rc.c checklist.c inputbox.c menubox.c msgbox.c \
lineedit.c radiolist.c textbox.c yesno.c prgbox.c raw_popen.c \
fselect.c ui_objects.c dir.c notify.c help.c gauge.c tree.c
+EXAMPLES= Makefile check1.c check2.c check3.c dselect.c fselect.c \
+ ftree1.c ftree1.test ftree2.c ftree2.test gauge.c input1.c \
+ input2.c menu1.c menu2.c menu3.c msg.c prgbox.c radio1.c \
+ radio2.c radio3.c text.c tree.c yesno.c
+
CFLAGS+= -I${.CURDIR} -Wall -Wstrict-prototypes -DLOCALE
LDADD+= -lncurses -lmytinfo
@@ -18,6 +23,10 @@ DPADD+= ${LIBNCURSES} ${LIBMYTINFO}
beforeinstall:
${INSTALL} -C -o ${BINOWN} -g ${BINGRP} -m 444 ${.CURDIR}/dialog.h \
${DESTDIR}/usr/include
+.for file in ${EXAMPLES}
+ ${INSTALL} -c -o ${BINOWN} -g ${BINGRP} -m 444 \
+ ${.CURDIR}/TESTS/${file} ${DESTDIR}/usr/share/examples/libdialog
+.endfor
MLINKS+=dialog.3 draw_shadow.3 dialog.3 draw_box.3 \
dialog.3 line_edit.3 dialog.3 strheight.3 \