Tweaks to the build to allow "make -DNOCLEAN" and "make release" to

work.
This commit is contained in:
Mark Murray 2000-06-29 18:21:51 +00:00
parent 6c66bbed1a
commit 8bea8d9daa
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=62262
3 changed files with 10 additions and 2 deletions

View File

@ -19,7 +19,8 @@ NO_PERL_SCRIPT_MAKE= true
.include <bsd.lib.mk>
build-tools: lib${LIB}.a
build-tools: cleandepend
cd ${.CURDIR} && ${MAKE} lib${LIB}.a
config.h: links
@sh config_h.sh

View File

@ -35,4 +35,10 @@ install:
INSTALLPRIVLIB=${DESTDIR}/usr/libdata/perl/${VERSION} \
INSTALLARCHLIB=${DESTDIR}/usr/libdata/perl/${VERSION}/mach
distribute:
cd ${.OBJDIR}/ext/${MODULEDIR} ;\
make -B install DESTDIR=${DISTDIR}/${dist} SHARED=copies \
INSTALLPRIVLIB=${DESTDIR}/usr/libdata/perl/${VERSION} \
INSTALLARCHLIB=${DESTDIR}/usr/libdata/perl/${VERSION}/mach
.PATH: ${PERL5SRC}

View File

@ -14,7 +14,8 @@ MYLIBPERL= ${.CURDIR}/../libperl/libperl.a
DPADD= ${MYLIBPERL} ${LIBM} ${LIBCRYPT}
LDADD= ${MYLIBPERL} -lm -lcrypt
build-tools: ${PROG}
build-tools: cleandepend
cd ${.CURDIR} && ${MAKE} ${PROG}
NO_PERL_SCRIPT_MAKE= true