From 88d7c6751caa1025cc5ef86759de341f973d39dd Mon Sep 17 00:00:00 2001 From: "Jordan K. Hubbard" Date: Fri, 21 Apr 1995 10:23:23 +0000 Subject: [PATCH] Whoops - I committed the test environment Makefile by mistake! This one should have all the proper relative paths. --- usr.sbin/pkg_manage/Makefile | 15 +++++++-------- 1 file changed, 7 insertions(+), 8 deletions(-) diff --git a/usr.sbin/pkg_manage/Makefile b/usr.sbin/pkg_manage/Makefile index c5f894040e2c..21017dac474c 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 - -pkg_manage: ../libdialog/libdialog.a