[pynfft] 03/07: d/rules: cleanup
Ghislain Vaillant
ghisvail-guest at moszumanska.debian.org
Thu Feb 13 21:14:05 UTC 2014
This is an automated email from the git hooks/post-receive script.
ghisvail-guest pushed a commit to branch master
in repository pynfft.
commit d36d432f66010d23a9df351fe9f4571b1f851779
Author: Ghislain Vaillant <ghisvail at gmail.com>
Date: Thu Feb 13 20:46:20 2014 +0000
d/rules: cleanup
---
debian/rules | 19 +++++++------------
1 file changed, 7 insertions(+), 12 deletions(-)
diff --git a/debian/rules b/debian/rules
index ea3c6d3..ef5e42a 100755
--- a/debian/rules
+++ b/debian/rules
@@ -5,28 +5,23 @@ export DEB_LDFLAGS_MAINT_APPEND = -Wl,--as-needed
export DH_VERBOSE=1
export PYBUILD_NAME=nfft3
-
+export PYBUILD_DESTDIR_python2=debian/python-${PYBUILD_NAME}/
+export PYBUILD_DESTDIR_python2-dbg=debian/python-${PYBUILD_NAME}-dbg/
+export PYBUILD_DESTDIR_python3=debian/python3-${PYBUILD_NAME}/
+export PYBUILD_DESTDIR_python3-dbg=debian/python3-${PYBUILD_NAME}-dbg/
%:
dh $@ --with python2,python3,sphinxdoc --buildsystem=pybuild
-
-override_dh_auto_build:
- dh_auto_build
- PYTHONPATH=. sphinx-build -b html -N doc/source doc/build/html
-
+build-indep:
+ dh build-indep
+ PYTHONPATH=. sphinx-build -N -q -E -b html doc/source debian/python-${PYBUILD_NAME}-doc/usr/share/doc/python-${PYBUILD_NAME}-doc/
override_dh_auto_install:
dh_auto_install
dh_numpy
dh_numpy3
-
-override_dh_clean:
- dh_clean
- rm -rf doc/build
-
-
override_dh_strip:
ifeq (,$(filter nostrip,$(DEB_BUILD_OPTIONS)))
dh_strip -ppython-${PYBUILD_NAME} --dbg-package=python-${PYBUILD_NAME}-dbg
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-science/packages/pynfft.git
More information about the debian-science-commits
mailing list