aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans-Christoph Steiner <eighthave@users.sourceforge.net>2010-08-19 17:19:33 +0000
committerHans-Christoph Steiner <eighthave@users.sourceforge.net>2010-08-19 17:19:33 +0000
commit2c16179c25059e58496c40cde8b67f01c2ae57ae (patch)
tree2ee08aba328b3e86229a7f7c423a1db0bd1c12b5
parent032950b7af46b7e1cc3d6e9154602c8a176e7b3e (diff)
rm LICENSE.txt and create symlink to Debian common license files
svn path=/trunk/externals/earplug~/; revision=13843
-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 14a1ed3..9c18d7d 100644
--- a/debian/links
+++ b/debian/links
@@ -1,3 +1,2 @@
usr/lib/pd/extra/earplug~/README.txt usr/share/doc/pd-earplug/README
-
-
+usr/share/common-licenses/GPL-2 usr/lib/pd/extra/earplug~/LICENSE.txt
diff --git a/debian/rules b/debian/rules
index 863a41f..592fa3f 100755
--- a/debian/rules
+++ b/debian/rules
@@ -8,6 +8,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)/earplug~/*.pd_linux \