Hi,
Below is a testcase where the -W option works if you specify the file
with relative path but not when you specify it with absolute path.
Thanks to all of you for an excellent utility!
Regards,
Nick
######## Bug Report #################
Consider this makefile:
####### Makefile
setup:
touch 1
sleep 10
touch 2
1 : 2
@echo making 1
####### end Makefile
Case 1
As expected when I run:
% make setup
% make 1
I see "making 1"
Case 2
If I run
% make setup
% make -W 1 1
I get "make: `1' is up to date." Again this is expected
Case 3
However, when I run
% make setup
% make -W `pwd`/1 1
I get "making 1". I expected "make: `1' is up to date."
>From my reading of the manual, it should be possible to specify the file to
be
considered infinitely new by either absolute or relative path.
Here output of "make --version"
GNU Make version 3.79.1, by Richard Stallman and Roland McGrath.
Built for sparc-sun-solaris2.6
Copyright (C) 1988, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 2000
Free Software Foundation, Inc.
This is free software; see the source for copying conditions.
There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A
PARTICULAR PURPOSE.
Report bugs to <[EMAIL PROTECTED]>.
And the output of "uname -a":
SunOS armada 5.6 Generic_105181-26 sun4u sparc
_______________________________________________
Bug-make mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/bug-make