From: Bruno H. <br...@cl...> - 2017-03-17 01:05:34
|
Hi Sam, > > 2) I don't see anything that uses it. > > without it module recompile requires `rm -rf` of the module dir, see > makemake.in: > > --8<---------------cut here---------------start------------->8--- > if [ "@TEST_NT@" = no ]; then # re-making a module requires rm -rf module > newer(){ echo 'test -f $$m/'$1' -a '"'!'"' -f $@/'$2; } > else # re-making a module just works > newer(){ echo 'test -f $$m/'$1' -a $$m/'$1' -nt $@/'$2; } > fi > --8<---------------cut here---------------end--------------->8--- Ah, thanks for explaining. I had overlooked this use. I've now replaced this use of an unportable shell primitive with a small auxiliary program. It may also need some porting effort (for native Windows, maybe), but at least these portability problems will not propagate upward into portability problems regarding the 'make' program. Bruno |