develooper Front page | perl.perl5.porters | Postings from June 2004

Re: Smoke [5.9.2] 22881 FAIL(M) MSWin32 WinXP/.Net SP1 (x86/1 cpu)

Thread Previous | Thread Next
From:
Nick Ing-Simmons
Date:
June 2, 2004 05:46
Subject:
Re: Smoke [5.9.2] 22881 FAIL(M) MSWin32 WinXP/.Net SP1 (x86/1 cpu)
Message ID:
20040602124609.9513.2@llama.elixent.com
Steve Hay <steve.hay@uk.radan.com> writes:
>
>The following alternative (a style used elsewhere) should therefore be fine:
>
>$(UNIDATAFILES) : $(MINIPERL) $(CONFIGPM) ..\lib\unicore\mktables
>    cd ..\lib\unicore && ..\$(MINIPERL) -I.. mktables
>
>This is also fine with nmake, but causes dmake to run mktables 7 times!
>
>
>Running mktables 7 times is better than not running it at all, but there 
>must be a way to fix it for dmake.  Anyone know how?
>
'tis a pain but dmake is not unique in this (it is copying old Unix makes).

The way to do it is nominate one of UNIDATAFILES (ideally the last one 
written) as _the_ dependancy. (I don't see a definition of UNIDATAFILES 
in your patch)

Or invent a pseudo target thus:

$(UNIDATAFILES) : unidataready
# Nothing here - the nothing happens 7 times ...

unidataready : $(MINIPERL) $(CONFIGPM) ..\lib\unicore\mktables
    cd ..\lib\unicore && ..\$(MINIPERL) -I.. mktables


Thread Previous | Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About