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

Client: Build

This closes #1174
This commit is contained in:
James E. King, III 2017-02-08 13:05:33 -05:00
parent bdd0b73a89
commit bd257f1b90

3
debian/rules vendored
View File

@ -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