aboutsummaryrefslogtreecommitdiffstats
path: root/Mk/bsd.port.subdir.mk
diff options
context:
space:
mode:
authorjkh <jkh@FreeBSD.org>1995-03-21 11:59:13 +0800
committerjkh <jkh@FreeBSD.org>1995-03-21 11:59:13 +0800
commit875510fda230991d222d7cdec896e101d4ec6d24 (patch)
tree36d374d414a7122959a84c0e04c4b0fe78974176 /Mk/bsd.port.subdir.mk
parent402276ffbb1c094cabb347ce0e4d8f7d77288fd5 (diff)
downloadfreebsd-ports-gnome-875510fda230991d222d7cdec896e101d4ec6d24.tar.gz
freebsd-ports-gnome-875510fda230991d222d7cdec896e101d4ec6d24.tar.zst
freebsd-ports-gnome-875510fda230991d222d7cdec896e101d4ec6d24.zip
Add fetch-list command for Rod
Use ECHO_MSG macro for printing "===>" line things so that I can now turn those OFF when I don't want them.
Diffstat (limited to 'Mk/bsd.port.subdir.mk')
-rw-r--r--Mk/bsd.port.subdir.mk14
1 files changed, 10 insertions, 4 deletions
diff --git a/Mk/bsd.port.subdir.mk b/Mk/bsd.port.subdir.mk
index 89a1278c87a5..b571142dcee3 100644
--- a/Mk/bsd.port.subdir.mk
+++ b/Mk/bsd.port.subdir.mk
@@ -1,5 +1,5 @@
# from: @(#)bsd.subdir.mk 5.9 (Berkeley) 2/1/91
-# $Id: bsd.port.subdir.mk,v 1.9 1995/01/05 01:46:05 jkh Exp $
+# $Id: bsd.port.subdir.mk,v 1.10 1995/03/03 23:30:32 gpalmer Exp $
.MAIN: all
@@ -11,22 +11,24 @@ BINGRP?= bin
BINOWN?= bin
BINMODE?= 555
+ECHO_MSG?= echo
+
_SUBDIRUSE: .USE
@for entry in ${SUBDIR}; do \
OK=""; \
for dud in $$DUDS; do \
if [ $${dud} = $${entry} ]; then \
OK="false"; \
- echo "===> ${DIRPRFX}$${entry} skipped"; \
+ ${ECHO_MSG} "===> ${DIRPRFX}$${entry} skipped"; \
fi; \
done; \
if [ "$$OK" = "" ]; then \
if test -d ${.CURDIR}/$${entry}.${MACHINE}; then \
- echo "===> ${DIRPRFX}$${entry}.${MACHINE}"; \
+ ${ECHO_MSG} "===> ${DIRPRFX}$${entry}.${MACHINE}"; \
edir=$${entry}.${MACHINE}; \
cd ${.CURDIR}/$${edir}; \
else \
- echo "===> ${DIRPRFX}$$entry"; \
+ ${ECHO_MSG} "===> ${DIRPRFX}$$entry"; \
edir=$${entry}; \
cd ${.CURDIR}/$${edir}; \
fi; \
@@ -51,6 +53,10 @@ all: _SUBDIRUSE
fetch: _SUBDIRUSE
.endif
+.if !target(fetch-list)
+fetch-list: _SUBDIRUSE
+.endif
+
.if !target(package)
package: _SUBDIRUSE
.endif