Whoops - I committed the test environment Makefile by mistake! This
one should have all the proper relative paths.
This commit is contained in:
parent
6e9cd00afe
commit
88d7c6751c
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user