opt-query.mk (bmake-20201101) | : | opt-query.mk (bmake-20201117) | ||
---|---|---|---|---|
# $NetBSD: opt-query.mk,v 1.3 2020/08/19 05:13:18 rillig Exp $ | # $NetBSD: opt-query.mk,v 1.4 2020/11/09 20:50:56 rillig Exp $ | |||
# | # | |||
# Tests for the -q command line option. | # Tests for the -q command line option. | |||
# | # | |||
# The -q option only looks at the dependencies between the targets. | # The -q option only looks at the dependencies between the targets. | |||
# None of the commands in the targets are run, not even those that are | # None of the commands in the targets are run, not even those that are | |||
# prefixed with '+'. | # prefixed with '+'. | |||
.MAKEFLAGS: -q | ||||
# This command cannot be prevented from being run since it is used at parse | # This command cannot be prevented from being run since it is used at parse | |||
# time, and any later variable assignments may depend on its result. | # time, and any later variable assignments may depend on its result. | |||
!= echo 'command during parsing' 1>&2; echo | != echo 'command during parsing' 1>&2; echo | |||
# None of these commands are run. | # None of these commands are run. | |||
.BEGIN: | .BEGIN: | |||
@echo '$@: hidden command' | @echo '$@: hidden command' | |||
@+echo '$@: run always' | @+echo '$@: run always' | |||
# None of these commands are run. | # None of these commands are run. | |||
End of changes. 2 change blocks. | ||||
1 lines changed or deleted | 3 lines changed or added |