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
commit65a9802fa801fafa37f7864eceeed28fafe0c2e0 (patch)
tree2f24e8f8d55c43143eb7a8fd2ec598bdd4557767
parent38674e270ba61da4be02d666ccc3c1d18c5a7112 (diff)
rm LICENSE.txt and create symlink to Debian common license files
svn path=/trunk/externals/template/; 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 cf81ab1..e21d901 100644
--- a/debian/links
+++ b/debian/links
@@ -1,4 +1,3 @@
usr/lib/pd/extra/template/README.txt usr/share/doc/pd-template/README
usr/lib/pd/extra/template/examples usr/share/doc/pd-template/examples
-
-
+usr/share/common-licenses/GPL-2 usr/lib/pd/extra/template/LICENSE.txt
diff --git a/debian/rules b/debian/rules
index 0c273a4..47c8c79 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 \