[xtensor] 03/05: Fix the clean target when nodoc requested

Ghislain Vaillant ghisvail-guest at moszumanska.debian.org
Mon Apr 10 16:59:27 UTC 2017


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

ghisvail-guest pushed a commit to branch master
in repository xtensor.

commit efe95bbac8db563714b88a46a3bddd85f084c92b
Author: Ghislain Antony Vaillant <ghisvail at gmail.com>
Date:   Sat Apr 8 00:40:35 2017 +0100

    Fix the clean target when nodoc requested
---
 debian/rules | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/debian/rules b/debian/rules
index d81bc53..e34b348 100755
--- a/debian/rules
+++ b/debian/rules
@@ -17,7 +17,9 @@ endif
 
 override_dh_auto_clean:
 	dh_auto_clean
+ifeq (,$(findstring nodoc,$(DEB_BUILD_PROFILES)))
 	$(MAKE) -C docs clean
+endif
 
 override_dh_auto_configure:
 	dh_auto_configure -- $(BUILD_OPTIONS)

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



More information about the debian-science-commits mailing list