aboutsummaryrefslogtreecommitdiff
path: root/debian
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
commite41504b0e6eb5d9cd6cac9b21bb90758f6d3f159 (patch)
tree134f08828547b5503cba95339a5a61b07df45c4d /debian
parent0818955e406e31885dfa3fa2f1994be46f0f49a4 (diff)
rm LICENSE.txt and create symlink to Debian common license files
svn path=/trunk/externals/pddp/; 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 a8b938c..4ff7fc1 100644
--- a/debian/links
+++ b/debian/links
@@ -1,4 +1,3 @@
usr/lib/pd/extra/pddp/README.txt usr/share/doc/pd-pddp/README
usr/lib/pd/extra/pddp/examples usr/share/doc/pd-pddp/examples
-
-
+usr/share/common-licenses/GPL-2 usr/lib/pd/extra/pddp/LICENSE.txt
diff --git a/debian/rules b/debian/rules
index b2105cc..5cd952c 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 \