diff options
author | markm <markm@FreeBSD.org> | 2000-06-29 18:21:51 +0000 |
---|---|---|
committer | markm <markm@FreeBSD.org> | 2000-06-29 18:21:51 +0000 |
commit | 3d5033b596bc4aae3f44baa594a35ef4d94e35a2 (patch) | |
tree | 527de92133519c149fbe9fa653d670b66ac661d0 /gnu/usr.bin | |
parent | 0e6c8a1f1b5b88304acc6fb5ca49cd82b9372dbb (diff) | |
download | FreeBSD-src-3d5033b596bc4aae3f44baa594a35ef4d94e35a2.zip FreeBSD-src-3d5033b596bc4aae3f44baa594a35ef4d94e35a2.tar.gz |
Tweaks to the build to allow "make -DNOCLEAN" and "make release" to
work.
Diffstat (limited to 'gnu/usr.bin')
-rw-r--r-- | gnu/usr.bin/perl/libperl/Makefile | 3 | ||||
-rw-r--r-- | gnu/usr.bin/perl/library/Makefile.inc | 6 | ||||
-rw-r--r-- | gnu/usr.bin/perl/miniperl/Makefile | 3 |
3 files changed, 10 insertions, 2 deletions
diff --git a/gnu/usr.bin/perl/libperl/Makefile b/gnu/usr.bin/perl/libperl/Makefile index 5985dac..824ce61 100644 --- a/gnu/usr.bin/perl/libperl/Makefile +++ b/gnu/usr.bin/perl/libperl/Makefile @@ -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 diff --git a/gnu/usr.bin/perl/library/Makefile.inc b/gnu/usr.bin/perl/library/Makefile.inc index bbfa36c..0c7e128 100644 --- a/gnu/usr.bin/perl/library/Makefile.inc +++ b/gnu/usr.bin/perl/library/Makefile.inc @@ -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} diff --git a/gnu/usr.bin/perl/miniperl/Makefile b/gnu/usr.bin/perl/miniperl/Makefile index 3c8ebcd..cdc8bc1 100644 --- a/gnu/usr.bin/perl/miniperl/Makefile +++ b/gnu/usr.bin/perl/miniperl/Makefile @@ -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 |