Author: dreiss
Date: Tue Oct  5 02:38:59 2010
New Revision: 1004510

URL: http://svn.apache.org/viewvc?rev=1004510&view=rev
Log:
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.

Modified:
    incubator/thrift/trunk/lib/erl/Makefile.am

Modified: incubator/thrift/trunk/lib/erl/Makefile.am
URL: 
http://svn.apache.org/viewvc/incubator/thrift/trunk/lib/erl/Makefile.am?rev=1004510&r1=1004509&r2=1004510&view=diff
==============================================================================
--- incubator/thrift/trunk/lib/erl/Makefile.am (original)
+++ incubator/thrift/trunk/lib/erl/Makefile.am Tue Oct  5 02:38:59 2010
@@ -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) ; \


Reply via email to