From: David Reiss Date: Sun, 24 Feb 2008 17:45:03 +0000 (+0000) Subject: Use "all-local" instead of all in Makefile.am. X-Git-Tag: 0.2.0~973 X-Git-Url: https://source.supwisdom.com/gerrit/gitweb?a=commitdiff_plain;h=3de1c4e4d33cc5c32809771f2bbec746501d1f94;p=common%2Fthrift.git Use "all-local" instead of all in Makefile.am. 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 --- diff --git a/lib/csharp/Makefile.am b/lib/csharp/Makefile.am index 909bc53c..c06f50cd 100644 --- a/lib/csharp/Makefile.am +++ b/lib/csharp/Makefile.am @@ -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 diff --git a/lib/java/Makefile.am b/lib/java/Makefile.am index 46c02ee6..984b7742 100644 --- a/lib/java/Makefile.am +++ b/lib/java/Makefile.am @@ -1,4 +1,4 @@ -all: +all-local: $(ANT) install-exec-hook: diff --git a/lib/py/Makefile.am b/lib/py/Makefile.am index a91d28cb..99aa2cea 100644 --- a/lib/py/Makefile.am +++ b/lib/py/Makefile.am @@ -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