Use "all-local" instead of all in Makefile.am.
authorDavid Reiss <dreiss@apache.org>
Sun, 24 Feb 2008 17:45:03 +0000 (17:45 +0000)
committerDavid Reiss <dreiss@apache.org>
Sun, 24 Feb 2008 17:45:03 +0000 (17:45 +0000)
Summary:
Redefining an Automake rule totally blows away anything Automake puts in place.
By using all-local instead of all, we can just add to the generated rule.

Reviewed By: marc

Test Plan: make

git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@665499 13f79535-47bb-0310-9956-ffa450edef68

lib/csharp/Makefile.am
lib/java/Makefile.am
lib/py/Makefile.am

index 909bc53..c06f50c 100644 (file)
@@ -28,7 +28,7 @@ THRIFTCODE= \
 
 CSC=gmcs -langversion:linq
 
-all: Thrift.dll
+all-local: Thrift.dll
 
 Thrift.dll: $(THRIFTCODE)
        $(CSC) $(THRIFTCODE) /out:Thrift.dll /target:library
index 46c02ee..984b774 100644 (file)
@@ -1,4 +1,4 @@
-all:
+all-local:
        $(ANT)
 
 install-exec-hook:
index a91d28c..99aa2ce 100644 (file)
@@ -1,7 +1,7 @@
 DESTDIR ?= /
 EXTRA_DIST = setup.py src
 
-all:
+all-local:
        $(PYTHON) setup.py build
 
 # We're ignoring prefix here because site-packages seems to be