aboutsummaryrefslogtreecommitdiff
path: root/debian/rules
diff options
context:
space:
mode:
authorHans-Christoph Steiner <eighthave@users.sourceforge.net>2010-02-09 22:30:40 +0000
committerHans-Christoph Steiner <eighthave@users.sourceforge.net>2010-02-09 22:30:40 +0000
commit2b0b6bd6fd3732b804dc5c75a3f1a34355e36dfb (patch)
treed7377f72067c873cc0b898b490c664f56f61a96f /debian/rules
parentb09e39664365b715b6a5c8423ee6b266c90c3957 (diff)
fix install location of library in packaging (I forgot to include the 'extra' in /usr/lib/pd/extra)
svn path=/trunk/externals/motex/; revision=13156
Diffstat (limited to 'debian/rules')
-rwxr-xr-xdebian/rules5
1 files changed, 3 insertions, 2 deletions
diff --git a/debian/rules b/debian/rules
index b60c274..5465001 100755
--- a/debian/rules
+++ b/debian/rules
@@ -2,14 +2,15 @@
LIBRARY_NAME = motex
PACKAGE = pd-$(LIBRARY_NAME)
+pkglibdir = /usr/lib/pd/extra
%:
dh $@
override_dh_auto_install:
- make DESTDIR=$(CURDIR)/debian/$(PACKAGE) pkglibdir=/usr/lib/pd install
+ make DESTDIR=$(CURDIR)/debian/$(PACKAGE) pkglibdir=$(pkglibdir) install
override_dh_shlibdeps:
- dpkg-shlibdeps $(CURDIR)/debian/$(PACKAGE)/usr/lib/pd/$(LIBRARY_NAME)/*.pd_linux \
+ dpkg-shlibdeps $(CURDIR)/debian/$(PACKAGE)$(pkglibdir)/$(LIBRARY_NAME)/*.pd_linux \
-T$(CURDIR)/debian/$(PACKAGE).substvars