summaryrefslogtreecommitdiff
path: root/lib/erl
diff options
context:
space:
mode:
authorDavid Reiss <dreiss@apache.org>2010-10-05 02:38:59 +0000
committerDavid Reiss <dreiss@apache.org>2010-10-05 02:38:59 +0000
commit3e07a8f23371ae9a96c55b4d81c31c9c57ace92b (patch)
treea5fc3c5f2753607991f08bdd4d918b5322e08742 /lib/erl
parent653eadab2fd65051d36b117237ba0a91596cb8bf (diff)
downloadthrift-3e07a8f23371ae9a96c55b4d81c31c9c57ace92b.tar.gz
erlang: Use Automake SUBDIRS instead of a manual forwarding rule
Previously, lib/erl/Makefile.am would forward rules like "all" and "clean" to the src subdir by manually invoking a submake. However, specifying src as a SUBDIR accomplishes this more easily and also ensures that other rules like "distclean" work. git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@1004510 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'lib/erl')
-rw-r--r--lib/erl/Makefile.am8
1 files changed, 1 insertions, 7 deletions
diff --git a/lib/erl/Makefile.am b/lib/erl/Makefile.am
index 18028a7d4..0722f1218 100644
--- a/lib/erl/Makefile.am
+++ b/lib/erl/Makefile.am
@@ -17,13 +17,7 @@
# under the License.
#
-MODULES = \
- src
-
-all clean docs:
- for dir in $(MODULES); do \
- (cd $$dir; ${MAKE} $@); \
- done
+SUBDIRS = src
install: all
mkdir -p $(DESTDIR)$(ERLANG_INSTALL_LIB_DIR_thrift) ; \