1*e2eeea75SSimon J. Gerraty# $NetBSD: opt-ignore.mk,v 1.5 2020/11/09 20:50:56 rillig Exp $ 22c3632d1SSimon J. Gerraty# 32c3632d1SSimon J. Gerraty# Tests for the -i command line option, which ignores the exit status of the 42c3632d1SSimon J. Gerraty# shell commands, and just continues with the next command, even from the same 52c3632d1SSimon J. Gerraty# target. 62c3632d1SSimon J. Gerraty# 72c3632d1SSimon J. Gerraty# Is there a situation in which this option is useful? 82c3632d1SSimon J. Gerraty# 92c3632d1SSimon J. Gerraty# Why are the "Error code" lines all collected at the bottom of the output 102c3632d1SSimon J. Gerraty# file, where they cannot be related to the individual shell commands that 112c3632d1SSimon J. Gerraty# failed? 122c3632d1SSimon J. Gerraty 13956e45f6SSimon J. Gerraty.MAKEFLAGS: -d0 # switch stdout to being line-buffered 14*e2eeea75SSimon J. Gerraty.MAKEFLAGS: -i 15956e45f6SSimon J. Gerraty 162c3632d1SSimon J. Gerratyall: dependency other 172c3632d1SSimon J. Gerraty 182c3632d1SSimon J. Gerratydependency: 192c3632d1SSimon J. Gerraty @echo dependency 1 202c3632d1SSimon J. Gerraty @false 212c3632d1SSimon J. Gerraty @echo dependency 2 222c3632d1SSimon J. Gerraty @:; exit 7 232c3632d1SSimon J. Gerraty @echo dependency 3 242c3632d1SSimon J. Gerraty 252c3632d1SSimon J. Gerratyother: 262c3632d1SSimon J. Gerraty @echo other 1 272c3632d1SSimon J. Gerraty @false 282c3632d1SSimon J. Gerraty @echo other 2 292c3632d1SSimon J. Gerraty 302c3632d1SSimon J. Gerratyall: 312c3632d1SSimon J. Gerraty @echo main 1 322c3632d1SSimon J. Gerraty @false 332c3632d1SSimon J. Gerraty @echo main 2 34