aboutsummaryrefslogtreecommitdiff
path: root/debian
diff options
context:
space:
mode:
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 d36b869..a48276a 100644
--- a/debian/links
+++ b/debian/links
@@ -1,3 +1,2 @@
usr/lib/pd/extra/cxc/README.txt usr/share/doc/pd-cxc/README
-
-
+usr/share/common-licenses/GPL-2 usr/lib/pd/extra/cxc/LICENSE.txt
diff --git a/debian/rules b/debian/rules
index f13e3d0..54df012 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 \