From 3de1c4e4d33cc5c32809771f2bbec746501d1f94 Mon Sep 17 00:00:00 2001 From: David Reiss Date: Sun, 24 Feb 2008 17:45:03 +0000 Subject: [PATCH] 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 --- lib/csharp/Makefile.am | 2 +- lib/java/Makefile.am | 2 +- lib/py/Makefile.am | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) 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 -- 2.17.1