[med-svn] [python-biom-format] 10/11: Remove clutter from d/rules.
Ghislain Vaillant
ghisvail-guest at moszumanska.debian.org
Sat Mar 5 18:16:16 UTC 2016
This is an automated email from the git hooks/post-receive script.
ghisvail-guest pushed a commit to branch master
in repository python-biom-format.
commit 40a2cb21fdae80ebb95da36389bc5afb7ddefc52
Author: Ghislain Antony Vaillant <ghisvail at gmail.com>
Date: Sat Mar 5 18:11:25 2016 +0000
Remove clutter from d/rules.
---
debian/clean | 1 +
debian/rules | 17 ++---------------
2 files changed, 3 insertions(+), 15 deletions(-)
diff --git a/debian/clean b/debian/clean
index 3e5e0b9..af9201b 100644
--- a/debian/clean
+++ b/debian/clean
@@ -1,3 +1,4 @@
+*.egg-info/
biom/_*.c
build/html
build/man
diff --git a/debian/rules b/debian/rules
index f386eee..748339c 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,11 +1,7 @@
#!/usr/bin/make -f
-DH_VERBOSE := 1
-
-pkg := $(shell dpkg-parsechangelog | sed -n 's/^Source: //p')
-version := $(shell dpkg-parsechangelog -ldebian/changelog | grep Version: | cut -f2 -d' ' | cut -f1 -d- )
-bindir := $(CURDIR)/debian/$(pkg)/usr/bin
-mandir := $(CURDIR)/debian/$(pkg)/usr/share/man/man1
+# Uncomment this to turn on verbose mode.
+export DH_VERBOSE=1
export PYBUILD_NAME=biom-format
export PYBUILD_DESTDIR_python2=debian/python-$(PYBUILD_NAME)
@@ -32,15 +28,6 @@ override_dh_auto_install:
rm -rf $(PYBUILD_DESTDIR_python2)/usr/bin
rm -rf $(PYBUILD_DESTDIR_python3)/usr/bin
-override_dh_auto_clean:
- rm -rf build/tests
- dh_auto_clean
- find -name "._*" -delete #Remove any Mac metadata files
- make --directory=doc clean
- rm -f debian/bash-completion
- rm -f python-code/support-code/_*.cpp
- rm -rf *.egg-info
-
override_dh_installdocs-indep:
dh_installdocs --indep
dh_sphinxdoc --indep
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-med/python-biom-format.git
More information about the debian-med-commit
mailing list