make sure parallel builds of prewoc+woc work properly
authorKonrad Rosenbaum <konrad@silmor.de>
Mon, 4 Feb 2013 20:20:56 +0000 (21:20 +0100)
committerKonrad Rosenbaum <konrad@silmor.de>
Mon, 4 Feb 2013 20:20:56 +0000 (21:20 +0100)
Makefile

index aa08266..4540e33 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -22,12 +22,12 @@ all: prewoc woc qtbase doc
 
 .PHONY: prewoc woc qtbase doc clean install install-woc install-qtbase install-phpbase install-doc
 
-prewoc:
+vinfo/staticVersion.h prewoc:
        cd woc && $(QMAKE) -o Makefile.prewoc CONFIG+=prewoc
        $(MAKE) -C woc -f Makefile.prewoc
        cd woc && $(abspath woc/prewoc) :/version.wolf
 
-woc:
+woc: vinfo/staticVersion.h
        cd woc && $(QMAKE) CONFIG+=woc
        $(MAKE) -C woc