Workaround a dmake oddity.
authorSteve Hay <SteveHay@planit.com>
Thu, 3 Jun 2004 12:16:13 +0000 (13:16 +0100)
committerRafael Garcia-Suarez <rgarciasuarez@gmail.com>
Thu, 3 Jun 2004 13:03:20 +0000 (13:03 +0000)
Subject: Re: Smoke [5.9.2] 22881 FAIL(M) MSWin32 WinXP/.Net SP1 (x86/1 cpu)
Message-ID: <40BF087D.8030005@uk.radan.com>

p4raw-id: //depot/perl@22899

win32/makefile.mk

index bd3212b..fd702a9 100644 (file)
@@ -1290,7 +1290,12 @@ inst_lib : $(CONFIGPM)
        $(MINIPERL) -I..\lib ..\splittree.pl "../LIB" $(AUTODIR)
        $(RCOPY) ..\lib $(INST_LIB)\*.*
 
-$(UNIDATAFILES) : $(MINIPERL) $(CONFIGPM) ..\lib\unicore\mktables
+# Move the rule for making $(UNIDATAFILES) into a separate target and leave the
+# actual rule here blank because dmake runs the rule here once for each of the
+# files listed in $(UNIDATAFILES)
+$(UNIDATAFILES) : make_unidatafiles
+
+make_unidatafiles : $(MINIPERL) $(CONFIGPM) ..\lib\unicore\mktables
        cd ..\lib\unicore && \
        ..\$(MINIPERL) -I.. mktables