[Pkg-sugar-commit] [sugar-browse-activity] 16/32: Update python-sugar.mk to replace superfluous COPYING files with symlinks.
Jonas Smedegaard
dr at jones.dk
Mon Apr 20 09:46:45 UTC 2015
This is an automated email from the git hooks/post-receive script.
js pushed a commit to annotated tag debian/108-10
in repository sugar-browse-activity.
commit 2902271f524bb52567e6575dd88f558497e28363
Author: Jonas Smedegaard <dr at jones.dk>
Date: Sat Sep 19 13:10:26 2009 +0200
Update python-sugar.mk to replace superfluous COPYING files with symlinks.
---
debian/cdbs/1/class/python-sugar.mk | 6 ++++++
1 file changed, 6 insertions(+)
diff --git a/debian/cdbs/1/class/python-sugar.mk b/debian/cdbs/1/class/python-sugar.mk
index 5a3f4ed..a21de8c 100644
--- a/debian/cdbs/1/class/python-sugar.mk
+++ b/debian/cdbs/1/class/python-sugar.mk
@@ -98,6 +98,12 @@ else
dh_pycentral -p$(cdbs_curpkg)
endif
+# Replace superfluous COPYING files with symlinks
+$(patsubst %,binary-post-install/%,$(DEB_PYTHON_SUGAR_PACKAGES)) :: binary-post-install/%:
+ ! test -f $(DEB_DESTDIR)/usr/share/sugar/activities/*.activity/COPYING \
+ || ! diff -q /usr/share/common-licenses/GPL-2 $(DEB_DESTDIR)/usr/share/sugar/activities/*.activity/COPYING \
+ || ln -sfT ../../../common-licenses/GPL-2 $(DEB_DESTDIR)/usr/share/sugar/activities/*.activity/COPYING
+
reverse-config:: $(patsubst %,cleanpythonsugar-reverse-config/%,$(DEB_PYTHON_SUGAR_PACKAGES))
$(patsubst %,cleanpythonsugar-reverse-config/%,$(DEB_PYTHON_SUGAR_PACKAGES)) :: cleanpythonsugar-reverse-config/% :
[ ! -e $(cdbs_pkgsrcdir)/MANIFEST.upstream ] || mv -f $(cdbs_pkgsrcdir)/MANIFEST.upstream $(cdbs_pkgsrcdir)/MANIFEST
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-sugar/sugar-browse-activity.git
More information about the pkg-sugar-commit
mailing list