summaryrefslogtreecommitdiffstats
path: root/share/mk/bsd.prog.mk
diff options
context:
space:
mode:
authorjkh <jkh@FreeBSD.org>1995-01-14 19:48:49 +0000
committerjkh <jkh@FreeBSD.org>1995-01-14 19:48:49 +0000
commitece97fd6fbc200a1cc1e79af48487f87a5ee0a24 (patch)
tree45ca7c8c1df71dd20a3e25193f247806c4621fae /share/mk/bsd.prog.mk
parentc24e685c76b888e55bf489332b536ec2b7b7c6e9 (diff)
downloadFreeBSD-src-ece97fd6fbc200a1cc1e79af48487f87a5ee0a24.zip
FreeBSD-src-ece97fd6fbc200a1cc1e79af48487f87a5ee0a24.tar.gz
The enclosed patch is a cosmetic change to bsd.prog.mk. When
a program directory has subdirectories, make now prints "===> dir/subdir" instead of "===> subdir". This is modeled after the rules contained in bsd.subdir.mk. Submitted by: Remy Card <Remy.Card@masi.ibp.fr>
Diffstat (limited to 'share/mk/bsd.prog.mk')
-rw-r--r--share/mk/bsd.prog.mk6
1 files changed, 3 insertions, 3 deletions
diff --git a/share/mk/bsd.prog.mk b/share/mk/bsd.prog.mk
index e922d34..9b7dddb 100644
--- a/share/mk/bsd.prog.mk
+++ b/share/mk/bsd.prog.mk
@@ -1,5 +1,5 @@
# from: @(#)bsd.prog.mk 5.26 (Berkeley) 6/25/91
-# $Id: bsd.prog.mk,v 1.15 1994/12/28 03:50:58 ache Exp $
+# $Id: bsd.prog.mk,v 1.16 1995/01/14 07:51:09 jkh Exp $
.if exists(${.CURDIR}/../Makefile.inc)
.include "${.CURDIR}/../Makefile.inc"
@@ -113,13 +113,13 @@ MAN1= ${PROG}.1
_PROGSUBDIR: .USE
.if defined(SUBDIR) && !empty(SUBDIR)
@for entry in ${SUBDIR}; do \
- (${ECHODIR} "===> $$entry"; \
+ (${ECHODIR} "===> ${DIRPRFX}$$entry"; \
if test -d ${.CURDIR}/$${entry}.${MACHINE}; then \
cd ${.CURDIR}/$${entry}.${MACHINE}; \
else \
cd ${.CURDIR}/$${entry}; \
fi; \
- ${MAKE} ${.TARGET:S/realinstall/install/:S/.depend/depend/}); \
+ ${MAKE} ${.TARGET:S/realinstall/install/:S/.depend/depend/} DIRPRFX=${DIRPRFX}$$entry/); \
done
.endif
OpenPOWER on IntegriCloud