Introduce a new target "show-host-specific-pkgs", which uses the new trunk
authoragc <agc@pkgsrc.org>
Thu, 11 May 2000 11:25:18 +0000
branchtrunk
changeset 11526 a2b00c2a8ba3
parent 11525 828d91d6c51e
child 11527 7611f82ab8f8
Introduce a new target "show-host-specific-pkgs", which uses the new show-pkgsrc-dir target to compile a list of host specific package directories from which the packages can be built and installed.
Makefile
--- a/Makefile	Thu May 11 11:23:20 2000 +0000
+++ b/Makefile	Thu May 11 11:25:18 2000 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.32 2000/03/30 13:01:49 hubertf Exp $
+# $NetBSD: Makefile,v 1.33 2000/05/11 11:25:18 agc Exp $
 # FreeBSD Id: Makefile,v 1.35 1997/08/19 07:10:01 fenner Exp
 #
 
@@ -140,3 +140,8 @@
 		>$@
 	@${RM} $@.trs
 	@${RM} $@.pkgs
+
+show-host-specific-pkgs:
+	@echo "HOST_SPECIFIC_PKGS= \\";					\
+	${MAKE} show-pkgsrc-dir | awk '/^===/ { next; } { printf("%s \\\n", $$1) }'; \
+	echo ""