Bug 3692 - make goes a bit odd when all targets are disabled
Status: RESOLVED FIXED
Alias: None
Product: ioquake3
Classification: Unclassified
Component: Misc
Version: unspecified
Hardware: Macintosh Linux
: P3 normal
Assignee: Zachary J. Slater
QA Contact: ioquake3 bugzilla mailing list
URL:
Depends on:
Blocks:
 
Reported: 2008-06-19 14:40 EDT by Ben Millwood
Modified: 2008-07-05 19:18:33 EDT
0 users

See Also:



Description Ben Millwood 2008-06-19 14:40:07 EDT
Running make when all the BUILD_* vars are set to 0 causes make to repeatedly invoke itself until interrupted by ctrl-c, outputting something like

make[15]: *** [targets] Interrupt
make[14]: *** [release] Interrupt
make[13]: *** [targets] Interrupt
[...]

when you do so.
This might sound a bit like a case of "well don't do that then", but:
1) imo it should be able to detect this condition and die gracefully instead of exhibiting the somewhat confusing behaviour described
2) if you attempt to run make-macosx-ub.sh with BUILD_SERVER=0 in Makefile.local (which isn't unreasonable to do), the script disables all the other targets while attempting to build the dedicated server and triggers the bug. This could be fixed by explicitly enabling the server target in the script (interestingly, this bug is not triggered by BUILD_CLIENT=0, although arguably the error given still isn't ideal).
Comment 1 Tim Angus 2008-07-05 18:34:35 EDT
Fixed in 1404.
Comment 2 Tim Angus 2008-07-05 19:18:33 EDT
.