Use ${ECHO} instead of echo' so that make -s' is fairly quiet.

This commit is contained in:
Bruce Evans 1994-08-28 15:37:40 +00:00
parent 3c303ff206
commit 80c02d5983
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=2353
3 changed files with 15 additions and 14 deletions

View File

@ -1,5 +1,5 @@
# from: @(#)bsd.doc.mk 5.3 (Berkeley) 1/2/91
# $Id: bsd.doc.mk,v 1.7 1994/04/19 17:15:55 jkh Exp $
# $Id: bsd.doc.mk,v 1.2 1994/08/04 21:09:22 wollman Exp $
PRINTER?= ps
@ -39,7 +39,7 @@ obj:
here=`pwd`; subdir=`echo $$here | sed 's,^/usr/src/,,'`; \
if test $$here != $$subdir ; then \
dest=/usr/obj/$$subdir ; \
echo "$$here -> $$dest"; ln -s $$dest obj; \
${ECHO} "$$here -> $$dest"; ln -s $$dest obj; \
if test -d /usr/obj -a ! -d $$dest; then \
mkdir -p $$dest; \
else \
@ -48,7 +48,7 @@ obj:
else \
true ; \
dest=$$here/obj ; \
echo "making $$here/obj" ; \
${ECHO} "making $$here/obj" ; \
if test ! -d obj ; then \
mkdir $$here/obj; \
fi ; \

View File

@ -1,5 +1,5 @@
# from: @(#)bsd.lib.mk 5.26 (Berkeley) 5/2/91
# $Id: bsd.lib.mk,v 1.4 1994/08/10 02:48:07 wollman Exp $
# $Id: bsd.lib.mk,v 1.5 1994/08/26 18:58:10 wollman Exp $
#
.if exists(${.CURDIR}/../Makefile.inc)
@ -15,6 +15,7 @@ SHLIB_MINOR != . ${.CURDIR}/shlib_version ; echo $$minor
CFLAGS+= -I${DESTDIR}/usr/include
CXXINCLUDES+= -I${DESTDIR}/usr/include/${CXX}
.endif
INSTALL?= install
LIBDIR?= /usr/lib
LINTLIBDIR?= /usr/libdata/lint
@ -138,14 +139,14 @@ all: ${_LIBS} # llib-l${LIB}.ln
OBJS+= ${SRCS:N*.h:R:S/$/.o/g}
lib${LIB}.a:: ${OBJS}
@echo building standard ${LIB} library
@${ECHO} building standard ${LIB} library
@rm -f lib${LIB}.a
@${AR} cTq lib${LIB}.a `lorder ${OBJS} | tsort` ${ARADD}
${RANLIB} lib${LIB}.a
POBJS+= ${OBJS:.o=.po}
lib${LIB}_p.a:: ${POBJS}
@echo building profiled ${LIB} library
@${ECHO} building profiled ${LIB} library
@rm -f lib${LIB}_p.a
@${AR} cTq lib${LIB}_p.a `lorder ${POBJS} | tsort` ${ARADD}
${RANLIB} lib${LIB}_p.a
@ -160,14 +161,14 @@ SOBJS+= ${DESTDIR}/usr/lib/c++rt0.o
SOBJS+= ${OBJS:.o=.so}
lib${LIB}.so.${SHLIB_MAJOR}.${SHLIB_MINOR}: ${SOBJS}
@echo building shared ${LIB} library \(version ${SHLIB_MAJOR}.${SHLIB_MINOR}\)
@${ECHO} building shared ${LIB} library \(version ${SHLIB_MAJOR}.${SHLIB_MINOR}\)
@rm -f lib${LIB}.so.${SHLIB_MAJOR}.${SHLIB_MINOR}
@$(LD) -Bshareable \
@${LD} -Bshareable \
-o lib${LIB}.so.${SHLIB_MAJOR}.${SHLIB_MINOR} \
${SOBJS} ${LDDESTDIR} ${LDADD}
lib${LIB}_pic.a:: ${SOBJS}
@echo building special pic ${LIB} library
@${ECHO} building special pic ${LIB} library
@rm -f lib${LIB}_pic.a
@${AR} cTq lib${LIB}_pic.a ${SOBJS} ${ARADD}
${RANLIB} lib${LIB}_pic.a
@ -242,7 +243,7 @@ realinstall: beforeinstall
shift; \
t=${DESTDIR}$$1; \
shift; \
echo $$t -\> $$l; \
${ECHO} $$t -\> $$l; \
rm -f $$t; \
ln $$l $$t; \
done; true
@ -279,7 +280,7 @@ obj:
obj:
@cd ${.CURDIR}; rm -rf obj; \
here=`pwd`; dest=/usr/obj`echo $$here | sed 's,^/usr/src,,'`; \
echo "$$here -> $$dest"; ln -s $$dest obj; \
${ECHO} "$$here -> $$dest"; ln -s $$dest obj; \
if test -d /usr/obj -a ! -d $$dest; then \
mkdir -p $$dest; \
else \

View File

@ -1,5 +1,5 @@
# from: @(#)bsd.man.mk 5.2 (Berkeley) 5/11/90
# $Id: bsd.man.mk,v 1.6 1994/06/05 20:42:39 csgr Exp $
# $Id: bsd.man.mk,v 1.2 1994/08/04 21:09:24 wollman Exp $
.if exists(${.CURDIR}/../Makefile.inc)
.include "${.CURDIR}/../Makefile.inc"
@ -63,7 +63,7 @@ maninstall: ${MANDEPEND}
while test $$# -ge 1; do \
name=`${BASENAME} $$1`; \
sect=`expr $$name : '.*\.\([^.]*\)'`; \
echo "compressing in" \
${ECHO} "compressing in" \
"${DESTDIR}${MANDIR}$${sect}${MANSUBDIR}:" \
"$$name -> $${name}${ZEXT}"; \
${MCOMPRESS} ${DESTDIR}${MANDIR}$${sect}${MANSUBDIR}/$$name ; \
@ -94,7 +94,7 @@ maninstall: ${MANDEPEND}
sect=`expr $$name : '.*\.\([^.]*\)'`; \
dir=${DESTDIR}${MANDIR}$$sect; \
t=$${dir}${MANSUBDIR}/$$name; \
echo $${t}${ZEXT} -\> $${l}${ZEXT}; \
${ECHO} $${t}${ZEXT} -\> $${l}${ZEXT}; \
rm -f $${t}${ZEXTENSION}; \
rm -f $${t}; \
ln $${l}${ZEXT} $${t}${ZEXT}; \