[Pkg-running-devel] [pytrainer] 11/12: Delete empty directories in debian during building process
Marcelo Santana
darkstar-guest at moszumanska.debian.org
Tue Jan 12 16:00:45 UTC 2016
This is an automated email from the git hooks/post-receive script.
darkstar-guest pushed a commit to branch master
in repository pytrainer.
commit 79b966848cd0fcab9d7b1bb60c7ca1cbaa464c47
Author: Marcelo Santana <marcelo at msantana.eng.br>
Date: Thu Jan 7 17:45:22 2016 -0300
Delete empty directories in debian during building process
---
debian/changelog | 1 +
debian/rules | 1 +
2 files changed, 2 insertions(+)
diff --git a/debian/changelog b/debian/changelog
index 09f0454..6bc39a0 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -12,6 +12,7 @@ pytrainer (1.10.2~git20160107-1) UNRELEASED; urgency=medium
in debian/gbp.conf file
* Remove asterisk from debian/NEWS file
* Remove deprecated debian/postinst and debian/postrm scripts
+ * Delete empty directories in debian during building process
-- Marcelo Santana <marcelo at msantana.eng.br> Thu, 07 Jan 2016 17:04:27 -0300
diff --git a/debian/rules b/debian/rules
index 499334e..dcda5c1 100755
--- a/debian/rules
+++ b/debian/rules
@@ -9,6 +9,7 @@ override_dh_clean:
override_dh_install:
rm -rf debian/build
+ find debian -type d -empty -delete
python setup.py install --no-compile --prefix debian/pytrainer/usr --install-layout=deb
mv debian/pytrainer/usr/bin/pytrainer debian/pytrainer/usr/bin/pytr
cp debian/mozpytrainer.sh debian/pytrainer/usr/bin/pytrainer
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-running/pytrainer.git
More information about the Pkg-running-devel
mailing list