Thrift-1421: Debian Packages can not be built
Client: debian
Patch: Jake Farrell

Commenting out erlang from debian build until jsx can be fixed. 



git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1199792 13f79535-47bb-0310-9956-ffa450edef68
diff --git a/contrib/debian/rules b/contrib/debian/rules
index e24f946..6aa8722 100755
--- a/contrib/debian/rules
+++ b/contrib/debian/rules
@@ -23,7 +23,7 @@
 	dh_testdir
 	# Add here commands to configure the package.
 	if [ -f bootstrap.sh ]; then $(CURDIR)/bootstrap.sh; fi
-	$(CURDIR)/configure --prefix=/usr --with-c_glib
+	$(CURDIR)/configure --prefix=/usr --with-c_glib --without-erlang
 
 	touch configure-stamp
 
@@ -70,7 +70,7 @@
 		ant
 
 	# Erlang
-	$(MAKE) -C $(CURDIR)/lib/erl
+	# $(MAKE) -C $(CURDIR)/lib/erl
 
 	# C#
 	$(MAKE) -C $(CURDIR)/lib/csharp
@@ -107,11 +107,11 @@
 		$(CURDIR)/debian/libthrift-java/usr/share/java/
 
 	# Erlang
-	mkdir -p $(CURDIR)/debian/libthrift-erlang/usr/lib/erlang/lib/thrift/ && \
-	cp -r $(CURDIR)/lib/erl/ebin \
-		$(CURDIR)/lib/erl/include \
-		$(CURDIR)/lib/erl/src \
-		$(CURDIR)/debian/libthrift-erlang/usr/lib/erlang/lib/thrift/
+	# mkdir -p $(CURDIR)/debian/libthrift-erlang/usr/lib/erlang/lib/thrift/ && \
+	# cp -r $(CURDIR)/lib/erl/ebin \
+	#	$(CURDIR)/lib/erl/include \
+	#	$(CURDIR)/lib/erl/src \
+	#	$(CURDIR)/debian/libthrift-erlang/usr/lib/erlang/lib/thrift/
 
 	# C#
 	mkdir -p $(CURDIR)/debian/libthrift-cil/usr/lib/cli/thrift/ && \