[keras] 04/15: Remove nodoc support.
Stephen Sinclair
sinclairs-guest at moszumanska.debian.org
Mon Nov 20 16:40:16 UTC 2017
This is an automated email from the git hooks/post-receive script.
sinclairs-guest pushed a commit to branch master
in repository keras.
commit ae43795a3f96dc3ae5132acad31f7995ade4c7e4
Author: Stephen Sinclair <radarsat1 at gmail.com>
Date: Thu Nov 16 23:22:15 2017 -0300
Remove nodoc support.
Until ready to support DEB_BUILD_PROFILES more completely.
---
debian/rules | 2 --
1 file changed, 2 deletions(-)
diff --git a/debian/rules b/debian/rules
index 2c5de83..6787d42 100755
--- a/debian/rules
+++ b/debian/rules
@@ -38,13 +38,11 @@ override_dh_auto_build-indep:
dh_auto_build
# In the PyPI distribution the file CONTRIBUTING.md is missing, which
# causes an error during doc build, so make it an empty file.
-ifeq ($(filter nodoc,$(DEB_BUILD_PROFILES)),)
cd docs && sh -c "env PYTHONDONTWRITEBYTECODE=1 PYTHONPATH=.. python3 autogen.py && mkdocs build --site-dir=html"
# Despite PYTHONDONTWRITEBYTECODE, a __pycache__ is nonetheless generated by mkdocs!
find . -type d -name __pycache__ | xargs rm -rfv
# Distributed docs should not contain any programs
rm -fv docs/html/*.py
-endif
override_dh_auto_test:
# Run tests using Theano backend and CPU device.
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-science/packages/keras.git
More information about the debian-science-commits
mailing list