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
commite5a7372b54106a10f30c75f4e8c8f017d06a835c (patch)
tree8a0b3d319c6ea48f333aacc94f5c4fc734665052 /debian
parentb6acdc80efeebe90d1154d45ae21a987f04ff3eb (diff)
rm LICENSE.txt and create symlink to Debian common license files
svn path=/trunk/externals/hcs/pan/; revision=13843
Diffstat (limited to 'debian')
-rw-r--r--debian/links1
-rwxr-xr-xdebian/rules2
2 files changed, 3 insertions, 0 deletions
diff --git a/debian/links b/debian/links
index ff0625e..54864c2 100644
--- a/debian/links
+++ b/debian/links
@@ -1 +1,2 @@
usr/lib/pd/extra/pan/README.txt usr/share/doc/pd-pan/README
+usr/share/common-licenses/GPL-2 usr/lib/pd/extra/pan/LICENSE.txt
diff --git a/debian/rules b/debian/rules
index 28401a4..a4923b8 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 \