summaryrefslogtreecommitdiffstats
path: root/usr.sbin
diff options
context:
space:
mode:
authorjkh <jkh@FreeBSD.org>1995-04-21 10:23:23 +0000
committerjkh <jkh@FreeBSD.org>1995-04-21 10:23:23 +0000
commit524e2d7e9f6e6764b34471caf8b3e37a8fe06830 (patch)
tree8e40b9b412328851c856085264d842567350a295 /usr.sbin
parentfecc1587af6de020fb1746a584c095b8bffd7dc0 (diff)
downloadFreeBSD-src-524e2d7e9f6e6764b34471caf8b3e37a8fe06830.zip
FreeBSD-src-524e2d7e9f6e6764b34471caf8b3e37a8fe06830.tar.gz
Whoops - I committed the test environment Makefile by mistake! This
one should have all the proper relative paths.
Diffstat (limited to 'usr.sbin')
-rw-r--r--usr.sbin/pkg_manage/Makefile15
1 files changed, 7 insertions, 8 deletions
diff --git a/usr.sbin/pkg_manage/Makefile b/usr.sbin/pkg_manage/Makefile
index c5f8940..21017da 100644
--- a/usr.sbin/pkg_manage/Makefile
+++ b/usr.sbin/pkg_manage/Makefile
@@ -1,20 +1,21 @@
-# $Id: Makefile,v 1.1.1.1 1995/02/15 20:47:56 ache Exp $
+# $Id: Makefile,v 1.2 1995/04/21 10:05:36 jkh Exp $
PROG= pkg_manage
SRCS= pkg_main.c pkg_manage.c pkg_ui.c version.c
-LDADD+= ../libdialog/libdialog.a ../libncurses/libncurses.a -lmytinfo
+LDADD+= -ldialog -lncurses -lmytinfo
DPADD+= ${LIBDIALOG} ${LIBNCURSES} ${LIBMYTINFO}
CFLAGS+= -Wall -Wstrict-prototypes -DHELP_PATH=\"${HELPDIR}/\" \
- -I../libdialog -I../libncurses -g
+ -I${.CURDIR}/../../gnu/lib/libdialog \
+ -I${.CURDIR}/../../lib/libncurses
-#HELPDIR = /usr/share/misc/pkg_manage
-HELPDIR = /home/marc/src/dialog/pkg_manage
+HELPDIR = /usr/share/misc/pkg_manage
HELPS= pkg_view-inst.hlp pkg_del-inst.hlp pkg_preview.hlp \
pkg_install.hlp pkg_main.hlp
afterinstall:
- cd ${.CURDIR}; \
+ @if [ ! -d ${HELPDIR} ]; then rm -f ${HELPDIR}; mkdir -p ${HELPDIR}; fi
+ @cd ${.CURDIR}; \
for m in ${HELPS} ; do \
cmp -s $$m ${DESTDIR}${HELPDIR}/$$m || \
install -c -o ${BINOWN} -g ${BINGRP} -m 444 \
@@ -22,5 +23,3 @@ afterinstall:
done
.include <bsd.prog.mk>
-
-pkg_manage: ../libdialog/libdialog.a
OpenPOWER on IntegriCloud