Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 14 Jan 1995 20:27:51 +0100 (MET)
From:      Remy.Card@masi.ibp.fr (Remy CARD)
To:        hackers@FreeBSD.org
Subject:   Cosmetic change to bsd.prog.mk
Message-ID:  <199501141927.UAA18881@ares.ibp.fr>

next in thread | raw e-mail | index | archive | help

	Hi,

	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.

	Can someone please commit it?

	Thanks

		Remy

*** share/mk/bsd.prog.mk.orig	Sat Jan 14 19:31:01 1995
--- share/mk/bsd.prog.mk	Sat Jan 14 19:32:48 1995
***************
*** 113,125 ****
  _PROGSUBDIR: .USE
  .if defined(SUBDIR) && !empty(SUBDIR)
  	@for entry in ${SUBDIR}; do \
! 		(${ECHODIR} "===> $$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/}); \
  	done
  .endif
  
--- 113,125 ----
  _PROGSUBDIR: .USE
  .if defined(SUBDIR) && !empty(SUBDIR)
  	@for entry in ${SUBDIR}; do \
! 		(${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/} DIRPRFX=${DIRPRFX}$$entry/); \
  	done
  .endif
  



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199501141927.UAA18881>