[med-svn] [microbegps] 02/03: Move images and arch-independant data to /usr/share

Andreas Tille tille at debian.org
Tue Sep 22 08:39:08 UTC 2015


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

tille pushed a commit to branch master
in repository microbegps.

commit 65559d26acd5f29cb39fec91bc522da7d4cf1671
Author: Andreas Tille <tille at debian.org>
Date:   Tue Sep 22 09:34:26 2015 +0200

    Move images and arch-independant data to /usr/share
---
 debian/changelog | 1 +
 debian/rules     | 6 ++++++
 2 files changed, 7 insertions(+)

diff --git a/debian/changelog b/debian/changelog
index 67d265f..566f00d 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -2,6 +2,7 @@ microbegps (1.0.0-2) UNRELEASED; urgency=medium
 
   * Move packaging to Git
   * Wait for upstream to apply 2to3 patch and stick to Python 2 for the moment
+  * Move images and arch-independant data to /usr/share
 
  -- Andreas Tille <tille at debian.org>  Mon, 21 Sep 2015 20:17:46 +0200
 
diff --git a/debian/rules b/debian/rules
index f76d975..0135571 100755
--- a/debian/rules
+++ b/debian/rules
@@ -2,7 +2,13 @@
 
 export DH_VERBOSE := 1
 export PYBUILD_NAME=microbegps
+INTERPRETER=python2.7
 
 %:
 	dh $@ --with python2 --buildsystem=pybuild
 
+override_dh_install:
+	dh_install
+	mkdir -p debian/$(PYBUILD_NAME)/usr/share/$(PYBUILD_NAME)
+	mv debian/$(PYBUILD_NAME)/usr/lib/$(INTERPRETER)/dist-packages/microbegps/data debian/$(PYBUILD_NAME)/usr/share/$(PYBUILD_NAME)
+	ln -s ../../../../share/$(PYBUILD_NAME)/data debian/$(PYBUILD_NAME)/usr/lib/$(INTERPRETER)/dist-packages/microbegps/

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



More information about the debian-med-commit mailing list