[pybind11] 03/07: Clean the docs using the upstream Makefile
Ghislain Vaillant
ghisvail-guest at moszumanska.debian.org
Thu Jul 20 15:49:11 UTC 2017
This is an automated email from the git hooks/post-receive script.
ghisvail-guest pushed a commit to branch experimental
in repository pybind11.
commit 7449041e97bd1dee6f2ec8e176c2a3fd42ed37a5
Author: Ghislain Antony Vaillant <ghisvail at gmail.com>
Date: Thu Jul 20 15:18:12 2017 +0100
Clean the docs using the upstream Makefile
---
debian/clean | 1 -
debian/rules | 5 ++++-
2 files changed, 4 insertions(+), 2 deletions(-)
diff --git a/debian/clean b/debian/clean
index 12f5353..9be828e 100644
--- a/debian/clean
+++ b/debian/clean
@@ -1,3 +1,2 @@
-docs/.build/
pybind11.egg-info/
tests/*.so
diff --git a/debian/rules b/debian/rules
index a936846..96e3168 100755
--- a/debian/rules
+++ b/debian/rules
@@ -11,6 +11,9 @@ export PYBUILD_NAME = pybind11
override_dh_auto_clean:
dh_auto_clean
dh_auto_clean --buildsystem=pybuild
+ifeq (,$(findstring nodoc,$(DEB_BUILD_PROFILES)))
+ $(MAKE) -C docs clean
+endif
override_dh_auto_configure:
ifeq (,$(findstring nocheck,$(DEB_BUILD_PROFILES)))
@@ -25,7 +28,7 @@ override_dh_auto_build:
dh_auto_build
dh_auto_build --buildsystem=pybuild
ifeq (,$(findstring nodoc,$(DEB_BUILD_PROFILES)))
- make -C docs html
+ $(MAKE) -C docs html
endif
override_dh_auto_install:
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-science/packages/pybind11.git
More information about the debian-science-commits
mailing list