aboutsummaryrefslogtreecommitdiffstats
path: root/Mk/bsd.port.subdir.mk
diff options
context:
space:
mode:
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