[pybtex] 14/20: Build the docs using the upstream Makefile

Ghislain Vaillant ghisvail-guest at moszumanska.debian.org
Sat Jul 22 21:04:55 UTC 2017


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

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

commit 1311f2ec7912b6b5aca87f12f7ea21f8165c31f0
Author: Ghislain Antony Vaillant <ghisvail at gmail.com>
Date:   Fri Jul 21 19:36:10 2017 +0100

    Build the docs using the upstream Makefile
---
 debian/python-pybtex-doc.docs | 2 +-
 debian/rules                  | 4 ++--
 2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/debian/python-pybtex-doc.docs b/debian/python-pybtex-doc.docs
index 6d28621..a213c54 100644
--- a/debian/python-pybtex-doc.docs
+++ b/debian/python-pybtex-doc.docs
@@ -1 +1 @@
-build/html
+docs/build/html
diff --git a/debian/rules b/debian/rules
index b3cc910..1232de8 100755
--- a/debian/rules
+++ b/debian/rules
@@ -13,11 +13,11 @@ export PYBUILD_AFTER_INSTALL_python3=rm -rf {destdir}/usr/bin
 
 override_dh_auto_clean:
 	dh_auto_clean
-	$(RM) -rf build/html
+	$(MAKE) -C docs clean
 
 override_dh_auto_build:
 	dh_auto_build
-	PYTHONPATH=. sphinx-build -N -b html docs/source build/html
+	PYTHONPATH=$(CURDIR) $(MAKE) -C docs html
 
 .PHONY: override_dh_auto_install
 override_dh_auto_install:

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



More information about the debian-science-commits mailing list