aboutsummaryrefslogtreecommitdiff
path: root/debian
diff options
context:
space:
mode:
authorHans-Christoph Steiner <eighthave@users.sourceforge.net>2010-08-19 17:19:33 +0000
committerIOhannes m zmölnig <zmoelnig@iem.at>2015-10-14 13:53:22 +0200
commit7e082415b5ef91009efb595d2a5c707c23b67ba4 (patch)
treea49af4a57bc3bf11e4f5ee9766d4fe438ef1d477 /debian
parent8cc16fe6324cdb98fdc3ac978d8389735e96dc72 (diff)
rm LICENSE.txt and create symlink to Debian common license files
svn path=/trunk/externals/maxlib/; revision=13843
Diffstat (limited to 'debian')
-rw-r--r--debian/links3
-rwxr-xr-xdebian/rules2
2 files changed, 3 insertions, 2 deletions
diff --git a/debian/links b/debian/links
index 0906459..b189bca 100644
--- a/debian/links
+++ b/debian/links
@@ -1,3 +1,2 @@
usr/lib/pd/extra/maxlib/README.txt usr/share/doc/pd-maxlib/README
-
-
+usr/share/common-licenses/GPL-2 usr/lib/pd/extra/maxlib/LICENSE.txt
diff --git a/debian/rules b/debian/rules
index f6c8852..cd82660 100755
--- a/debian/rules
+++ b/debian/rules
@@ -9,6 +9,8 @@ pkglibdir = /usr/lib/pd/extra
override_dh_auto_install:
make DESTDIR=$(CURDIR)/debian/$(PACKAGE) pkglibdir=$(pkglibdir) install
+# replace license file with link to the Debian license file
+ rm -f -- $(CURDIR)/debian/$(PACKAGE)/$(pkglibdir)/$(LIBRARY_NAME)/LICENSE.txt
override_dh_shlibdeps:
dpkg-shlibdeps $(CURDIR)/debian/$(PACKAGE)$(pkglibdir)/$(LIBRARY_NAME)/*.pd_linux \