%% "Aaron S. Hawley" <[EMAIL PROTECTED]> writes:
ash> The following behavior seems broken.
ash> $ ls script.awk
ash> ls: script.awk: No such file or directory
ash> $ ls RCS/script.awk,v
ash> RCS/script.awk,v
ash> $ make -n script.awk
ash> co RCS/script.awk,v script.awk
ash> RCS/script.awk,v --> script.awk
ash> revision 1.1
ash> done
ash> $ ls script.awk
ash> script.awk
ash> Couldn't find any mention of this behavior in the manual.
The builtin rule for checking things out of source uses the "+" prefix
character. You can find the builtin rules with the -p option, something
like this:
$ make -pf /dev/null
...
# default
CHECKOUT,v = +$(if $(wildcard $@),,$(CO) $(COFLAGS) $< $@)
...
%:: RCS/%,v
# commands to execute (built-in):
$(CHECKOUT,v)
The "+" token tells GNU make to run this command line even if -n is
given.
--
-------------------------------------------------------------------------------
Paul D. Smith <[EMAIL PROTECTED]> Find some GNU make tips at:
http://www.gnu.org http://make.paulandlesley.org
"Please remain calm...I may be mad, but I am a professional." --Mad Scientist
_______________________________________________
Help-make mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/help-make