"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "unit-tests/deptgt-silent.mk" between
bmake-20201101.tar.gz and bmake-20201117.tar.gz

About: bmake a BSD make tool (derived from NetBSD’s make).

deptgt-silent.mk  (bmake-20201101):deptgt-silent.mk  (bmake-20201117)
# $NetBSD: deptgt-silent.mk,v 1.3 2020/09/10 21:40:50 rillig Exp $ # $NetBSD: deptgt-silent.mk,v 1.4 2020/11/15 20:49:20 rillig Exp $
# #
# Tests for the special target .SILENT in dependency declarations. # Tests for the special target .SILENT in dependency declarations.
.SILENT: all .SILENT: all
all: all: loud
@echo 'This is not echoed because of the @.' @echo 'This is not echoed because of the @.'
# Without the .SILENT, the following command would be echoed. # Without the .SILENT, the following command would be echoed.
echo 'This is not echoed because of the .SILENT.' echo 'This is not echoed because of the .SILENT.'
# Demonstrate that the .SILENT only applies to the particular target.
# This is unlike .DELETE_ON_ERROR, which is a global setting.
loud: .PHONY
echo 'This is a loud command.'
 End of changes. 3 change blocks. 
2 lines changed or deleted 2 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)