diff options
author | phantom <phantom@FreeBSD.org> | 2000-01-10 12:04:18 +0000 |
---|---|---|
committer | phantom <phantom@FreeBSD.org> | 2000-01-10 12:04:18 +0000 |
commit | 5a624ba37849e1a07c962f1ec21e8e3df37884af (patch) | |
tree | 7b3a14c098fd3bfdc9151d5b6cf13b1d0d0680d3 /gnu/lib | |
parent | 0482dfee3732298e314574a611e8fdce4b293c72 (diff) | |
download | FreeBSD-src-5a624ba37849e1a07c962f1ec21e8e3df37884af.zip FreeBSD-src-5a624ba37849e1a07c962f1ec21e8e3df37884af.tar.gz |
Install contents of the TESTS subdirectory to /usr/share/examples/libdialog
Diffstat (limited to 'gnu/lib')
-rw-r--r-- | gnu/lib/libdialog/Makefile | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/gnu/lib/libdialog/Makefile b/gnu/lib/libdialog/Makefile index 89faa5c..3b6342f 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 \ |