fix #1249 - potential race with make -j
authorellson <devnull@localhost>
Mon, 17 Dec 2007 22:14:00 +0000 (22:14 +0000)
committerellson <devnull@localhost>
Mon, 17 Dec 2007 22:14:00 +0000 (22:14 +0000)
Martin von Gagern <Martin.vGagern@gmx.net>

tclpkg/gv/Makefile.am

index 5902ec2b8bc66c924bd020d5f3c590ab1fbac2f3..56e54cc45efdb516345870eda8d3654b375af1d5 100644 (file)
@@ -124,7 +124,8 @@ nodist_libgv_python_la_SOURCES = gv_python.cpp $(PYTHON_data)
 libgv_python_la_SOURCES = $(BASESOURCES) gv_dummy_init.cpp
 libgv_python_la_LIBADD = $(BASELIBS) @PYTHON_LIBS@
 libgv_python_la_LDFLAGS = -module -avoid-version
-gv_python.cpp $(PYTHON_data): gv.i
+$(PYTHON_data): gv_python.cpp
+gv_python.cpp: gv.i
        $(SWIG) -c++ -python -o gv_python.cpp $(srcdir)/gv.i
 
 pkgpython23dir = $(pkglibdir)/python23