[Python-apps-commits] r14451 - in packages/pyinfra/trunk/debian (changelog rules)

stender at users.alioth.debian.org stender at users.alioth.debian.org
Sun Nov 5 16:01:29 UTC 2017


    Date: Sunday, November 5, 2017 @ 16:01:28
  Author: stender
Revision: 14451

deb/rules: run sphinx-build only if nodoc isn't set

Modified:
  packages/pyinfra/trunk/debian/changelog
  packages/pyinfra/trunk/debian/rules

Modified: packages/pyinfra/trunk/debian/changelog
===================================================================
--- packages/pyinfra/trunk/debian/changelog	2017-11-05 15:51:17 UTC (rev 14450)
+++ packages/pyinfra/trunk/debian/changelog	2017-11-05 16:01:28 UTC (rev 14451)
@@ -5,9 +5,11 @@
     + use HTTPS in Format field.
     + expand copyright span.
     + add Christophe Siraut to copyright holders of debian/*.
+  * deb/rules:
+    + run sphinx-build only if nodoc isn't set.
   * deb/tests/control: add click and docopt to Depends.
 
- -- Daniel Stender <stender at debian.org>  Sun, 05 Nov 2017 16:50:35 +0100
+ -- Daniel Stender <stender at debian.org>  Sun, 05 Nov 2017 16:59:49 +0100
 
 pyinfra (0.4.1-1) unstable; urgency=medium
 

Modified: packages/pyinfra/trunk/debian/rules
===================================================================
--- packages/pyinfra/trunk/debian/rules	2017-11-05 15:51:17 UTC (rev 14450)
+++ packages/pyinfra/trunk/debian/rules	2017-11-05 16:01:28 UTC (rev 14451)
@@ -12,7 +12,9 @@
 	PYBUILD_SYSTEM=custom PYBUILD_TEST_ARGS="python3 -m nose --verbose" dh_auto_test
 
 override_dh_installdocs:
+ifeq (,$(findstring nodoc, $(DEB_BUILD_OPTIONS)))
 	PYTHONPATH=. sphinx-build -N -bhtml docs/ debian/pyinfra/usr/share/doc/pyinfra/html/
+endif
 	dh_installdocs
 
 override_dh_compress:




More information about the Python-apps-commits mailing list