[nfft] 02/03: d/rules: overall reformatting: - Add missing export command for DH_VERBOSE. - Re-order flags to follow debhelper signature. - Call dh_auto_build to build the documentation. - Clear unnecessary usage of --arch / --indep flags.

Ghislain Vaillant ghisvail-guest at moszumanska.debian.org
Tue Aug 2 23:32:22 UTC 2016


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

ghisvail-guest pushed a commit to branch debian/master
in repository nfft.

commit df77f95d4bd122f891fe4f522b2b98e44dd76df6
Author: Ghislain Antony Vaillant <ghisvail at gmail.com>
Date:   Tue Aug 2 07:46:58 2016 +0100

    d/rules: overall reformatting:
    - Add missing export command for DH_VERBOSE.
    - Re-order flags to follow debhelper signature.
    - Call dh_auto_build to build the documentation.
    - Clear unnecessary usage of --arch / --indep flags.
---
 debian/rules | 16 ++++++++--------
 1 file changed, 8 insertions(+), 8 deletions(-)

diff --git a/debian/rules b/debian/rules
index 2746793..a9f2d66 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,7 +1,7 @@
 #!/usr/bin/make -f
 
 # Uncomment this to turn on verbose mode.
-#DH_VERBOSE = 1
+#export DH_VERBOSE = 1
 
 # Hardening flags.
 export DEB_BUILD_MAINT_OPTIONS = hardening=+all
@@ -55,14 +55,14 @@ override_dh_auto_configure-indep:
 		--enable-doxygen-doc
 
 override_dh_auto_build-arch:
-	dh_auto_build --arch --builddirectory=build-nfft
-	dh_auto_build --arch --builddirectory=build-nfftf
+	dh_auto_build --builddirectory=build-nfft
+	dh_auto_build --builddirectory=build-nfftf
 ifneq (,$(HAVE_FFTWL))
-	dh_auto_build --arch --builddirectory=build-nfftl
+	dh_auto_build --builddirectory=build-nfftl
 endif
 
 override_dh_auto_build-indep:
-	make --directory=$(CURDIR)/build-nfft doc
+	dh_auto_build --builddirectory=build-nfft -- doc
 
 # Note: long-double testing is temporarily disabled for powerpc and ppc64el
 # to allow the package to transition whilst upstream is working on a fix.
@@ -81,12 +81,12 @@ override_dh_auto_test-indep:
 	# No-op.
 
 override_dh_auto_install-arch:
-	dh_auto_install --arch --builddirectory=build-nfft \
+	dh_auto_install --builddirectory=build-nfft \
 		--package=libnfft3-double2
-	dh_auto_install --arch --builddirectory=build-nfftf \
+	dh_auto_install --builddirectory=build-nfftf \
 		--package=libnfft3-single2
 ifneq (,$(HAVE_FFTWL))
-	dh_auto_install --arch --builddirectory=build-nfftl \
+	dh_auto_install --builddirectory=build-nfftl \
 		--package=libnfft3-long2
 endif
 

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-science/packages/nfft.git



More information about the debian-science-commits mailing list