[med-svn] [manta] 04/04: Strip .py extension from binaries

Andreas Tille tille at debian.org
Mon May 1 06:24:05 UTC 2017


This is an automated email from the git hooks/post-receive script.

tille pushed a commit to branch master
in repository manta.

commit e95799f71ed963fafc5f7960871c7145985b9245
Author: Andreas Tille <tille at debian.org>
Date:   Mon May 1 08:23:43 2017 +0200

    Strip .py extension from binaries
---
 debian/rules | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/debian/rules b/debian/rules
index 6558457..547abe1 100755
--- a/debian/rules
+++ b/debian/rules
@@ -29,3 +29,8 @@ override_dh_install:
 	    mv $$py $(CURDIR)/debian/$(DEBPKGNAME)/usr/share/$(DEBPKGNAME)/ ; \
 	    ln -s ../../share/$(DEBPKGNAME)/`basename $$py` $(CURDIR)/debian/$(DEBPKGNAME)/usr/lib/$(DEBPKGNAME) ; \
 	done
+	mkdir -p $(CURDIR)/debian/$(DEBPKGNAME)/etc/$(DEBPKGNAME)
+	mv $(CURDIR)/debian/$(DEBPKGNAME)/usr/bin/configManta.py.ini $(CURDIR)/debian/$(DEBPKGNAME)/etc/$(DEBPKGNAME)/configManta.ini
+	for py in $(CURDIR)/debian/$(DEBPKGNAME)/usr/bin/*.py ; do \
+	    mv $$py $(CURDIR)/debian/$(DEBPKGNAME)/usr/bin/`basename $$py .py` ; \
+	done

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-med/manta.git



More information about the debian-med-commit mailing list