diff options
author | Hans-Christoph Steiner <eighthave@users.sourceforge.net> | 2010-08-19 17:19:33 +0000 |
---|---|---|
committer | Hans-Christoph Steiner <eighthave@users.sourceforge.net> | 2010-08-19 17:19:33 +0000 |
commit | 2c1dbec14db4bc16567b77caa6d48318775e1cf2 (patch) | |
tree | 14eae90077d0898aa15c734921a21a5a948be9d8 | |
parent | d8495232b94745dc288d1fd311f5e210a89049ea (diff) |
rm LICENSE.txt and create symlink to Debian common license files
svn path=/trunk/externals/smlib/; revision=13843
-rw-r--r-- | debian/links | 3 | ||||
-rwxr-xr-x | debian/rules | 2 |
2 files changed, 3 insertions, 2 deletions
diff --git a/debian/links b/debian/links index e9c35ab..c348052 100644 --- a/debian/links +++ b/debian/links @@ -1,4 +1,3 @@ usr/lib/pd/extra/smlib/README.txt usr/share/doc/pd-smlib/README usr/lib/pd/extra/smlib/examples usr/share/doc/pd-smlib/examples - - +usr/share/common-licenses/GPL-2 usr/lib/pd/extra/smlib/LICENSE.txt diff --git a/debian/rules b/debian/rules index 7505a39..329bf6d 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 \ |