From 5a624ba37849e1a07c962f1ec21e8e3df37884af Mon Sep 17 00:00:00 2001 From: phantom Date: Mon, 10 Jan 2000 12:04:18 +0000 Subject: Install contents of the TESTS subdirectory to /usr/share/examples/libdialog --- gnu/lib/libdialog/Makefile | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'gnu') 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 \ -- cgit v1.1