You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@thrift.apache.org by jk...@apache.org on 2017/02/08 18:06:19 UTC

thrift git commit: THRIFT-4043 ensure perl files do not end up in /usr/lib/Thrift Client: Build

Repository: thrift
Updated Branches:
  refs/heads/master bdd0b73a8 -> bd257f1b9


THRIFT-4043 ensure perl files do not end up in /usr/lib/Thrift
Client: Build

This closes #1174


Project: http://git-wip-us.apache.org/repos/asf/thrift/repo
Commit: http://git-wip-us.apache.org/repos/asf/thrift/commit/bd257f1b
Tree: http://git-wip-us.apache.org/repos/asf/thrift/tree/bd257f1b
Diff: http://git-wip-us.apache.org/repos/asf/thrift/diff/bd257f1b

Branch: refs/heads/master
Commit: bd257f1b9058c1ea7fc12b0a312fe7fa3de86a7e
Parents: bdd0b73
Author: James E. King, III <jk...@apache.org>
Authored: Wed Feb 8 13:05:33 2017 -0500
Committer: James E. King, III <jk...@apache.org>
Committed: Wed Feb 8 13:05:33 2017 -0500

----------------------------------------------------------------------
 debian/rules | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/thrift/blob/bd257f1b/debian/rules
----------------------------------------------------------------------
diff --git a/debian/rules b/debian/rules
index 46a7f92..53aec3c 100755
--- a/debian/rules
+++ b/debian/rules
@@ -130,7 +130,8 @@ install-indep:
 
 	# Perl
 	$(MAKE) -C $(CURDIR)/lib/perl install DESTDIR=$(CURDIR)/debian/libthrift-perl
-	mv $(CURDIR)/debian/libthrift-perl/usr/local/lib/perl5 $(CURDIR)/debian/libthrift-perl/usr/lib
+	mkdir -p $(CURDIR)/debian/libthrift-perl/usr/share
+	mv $(CURDIR)/debian/libthrift-perl/usr/local/lib/perl5 $(CURDIR)/debian/libthrift-perl/usr/share
 	rmdir $(CURDIR)/debian/libthrift-perl/usr/local/lib
 	rmdir $(CURDIR)/debian/libthrift-perl/usr/local