bug-make
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Document -n vs. $(MAKE) separate line safety


From: 積丹尼 Dan Jacobson
Subject: Document -n vs. $(MAKE) separate line safety
Date: Sat, 10 Apr 2021 08:28:00 +0800

On (info "(make) MAKE Variable") please warn:

Remember that anything else you put *on the same line* with $(MAKE) on it will
also get executed despite -n:

w:
        beep; beep; beep; $(MAKE) qq
will beep in the middle of the night, despite
$ make -n w

If you don't want
$ make x
to suddenly invoke the $BROWSER, then instead of
x:
        $(MAKE) lost_groups; $$BROWSER zzz.html

please use
x:
        $(MAKE) lost_groups
        $$BROWSER zzz.html


Sure, it is already discussed on the page, but not resoundingly enough.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]