rm LICENSE.txt and create symlink to Debian common license files

svn path=/trunk/externals/iem/comport/; revision=13843
This commit is contained in:
Hans-Christoph Steiner 2010-08-19 17:19:33 +00:00
parent d8d3837c81
commit 5c88ace13d
2 changed files with 3 additions and 2 deletions

View file

@ -1,3 +1,2 @@
usr/lib/pd/extra/comport/README.txt usr/share/doc/pd-comport/README usr/lib/pd/extra/comport/README.txt usr/share/doc/pd-comport/README
usr/share/common-licenses/LGPL-2.1 usr/lib/pd/extra/comport/LICENSE.txt

View file

@ -9,6 +9,8 @@ pkglibdir = /usr/lib/pd/extra
override_dh_auto_install: override_dh_auto_install:
make DESTDIR=$(CURDIR)/debian/$(PACKAGE) pkglibdir=$(pkglibdir) 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: override_dh_shlibdeps:
dpkg-shlibdeps $(CURDIR)/debian/$(PACKAGE)$(pkglibdir)/$(LIBRARY_NAME)/*.pd_linux \ dpkg-shlibdeps $(CURDIR)/debian/$(PACKAGE)$(pkglibdir)/$(LIBRARY_NAME)/*.pd_linux \