From 9a3692da07285fd74ddc0c0f9f30ddc725f534c3 Mon Sep 17 00:00:00 2001 From: hubertf Date: Fri, 9 Apr 1999 02:06:53 +0000 Subject: Move mirror-distfiles target around a bit so it can even be invoked on platforms that are prohibited by ONLY_FOR_ARCH/OPSYS etc. so we can provide distfile-backups even for them. --- mk/bsd.pkg.mk | 18 ++++++++++-------- 1 file changed, 10 insertions(+), 8 deletions(-) (limited to 'mk/bsd.pkg.mk') diff --git a/mk/bsd.pkg.mk b/mk/bsd.pkg.mk index fffae142dd3..62d1b7d7b44 100644 --- a/mk/bsd.pkg.mk +++ b/mk/bsd.pkg.mk @@ -1,4 +1,4 @@ -# $NetBSD: bsd.pkg.mk,v 1.250 1999/04/08 18:43:42 tron Exp $ +# $NetBSD: bsd.pkg.mk,v 1.251 1999/04/09 02:06:53 hubertf Exp $ # # This file is in the public domain. # @@ -1014,13 +1014,6 @@ do-fetch: .endif .endif -# This is for the use of sites which store distfiles which others may -# fetch - only fetch the distfile if it is allowed to be -# re-distributed freely -mirror-distfiles: -.if (${MIRROR_DISTFILE} == "yes") - ${_PKG_SILENT}${_PKG_DEBUG}${MAKE} fetch __ARCH_OK=1 __OPSYS_OK=1 NO_IGNORE=yes -.endif # Extract @@ -1595,6 +1588,15 @@ deinstall-depends: uptodate-pkgtools # Some more targets supplied for users' convenience ################################################################ +# This is for the use of sites which store distfiles which others may +# fetch - only fetch the distfile if it is allowed to be +# re-distributed freely +mirror-distfiles: +.if (${MIRROR_DISTFILE} == "yes") + ${_PKG_SILENT}${_PKG_DEBUG}${MAKE} fetch __ARCH_OK=1 __OPSYS_OK=1 NO_IGNORE=yes +.endif + + # Cleaning up .if !target(pre-clean) -- cgit v1.2.3