URL: <http://savannah.gnu.org/bugs/?47151>
Summary: make: -q fails for recursive makes Project: make Submitted by: srivasta Submitted on: Sun 14 Feb 2016 10:44:24 PM CST Severity: 3 - Normal Item Group: Bug Status: None Privacy: Public Assigned to: None Open/Closed: Open Discussion Lock: Any Component Version: 4.1 Operating System: POSIX-Based Fixed Release: None Triage Status: None _______________________________________________________ Details: Hi, This was reported by a debian user. Please retain a CC to 766140-forwar...@bugs.debian.org so that the Debian BTS has a copy of your input. Sample Makefile: # -------------------------- foo: bar echo foo bar: $(MAKE) baz echo "lala" baz: echo baz # -------------------------- $ make -q foo; echo $? make baz Makefile:4: recipe for target 'bar' failed make: *** [bar] Error 1 2 The fine manual says ,---- | If the exit status is one, then some updating needs to be done. | If make encounters an error, the exit status is two, so you can | distinguish an error from a target that is not up to date. `---- This is technically kindof correct, although _why_ the error occurs is mysterious. In particular, adding a comment before the recursive make, i.e. bar: # lalala $(MAKE) baz echo "lala" causes make -q bar to return 1. Manoj _______________________________________________________ Reply to this item at: <http://savannah.gnu.org/bugs/?47151> _______________________________________________ Message sent via/by Savannah http://savannah.gnu.org/ _______________________________________________ Bug-make mailing list Bug-make@gnu.org https://lists.gnu.org/mailman/listinfo/bug-make