Skip to content
Snippets Groups Projects
Commit 9e2871e9 authored by Colin Watson's avatar Colin Watson
Browse files

Simplify some debhelper overrides

parent 79afc1de
No related branches found
No related tags found
No related merge requests found
......@@ -3,6 +3,7 @@ python-django-postgres-extra (2.0.8-2) UNRELEASED; urgency=medium
* d/watch: Fix uscan error.
* Use dh-sequence-python3 and dh-sequence-sphinxdoc.
* Use pybuild-plugin-pyproject.
* Simplify some debhelper overrides.
-- Colin Watson <cjwatson@debian.org> Thu, 13 Feb 2025 12:24:41 +0000
......
......@@ -3,3 +3,4 @@ django_postgres_extra.egg-info/SOURCES.txt
django_postgres_extra.egg-info/dependency_links.txt
django_postgres_extra.egg-info/top_level.txt
django_postgres_extra.egg-info/requires.txt
docs/.build/
......@@ -9,12 +9,7 @@ export PYBUILD_DISABLE=test # Requires local PostgreSQL server
%:
dh $@ --buildsystem=pybuild
override_dh_sphinxdoc:
ifeq (,$(findstring nodoc, $(DEB_BUILD_OPTIONS)))
execute_before_dh_sphinxdoc:
PYTHONPATH=. python3 -m sphinx -b html -d docs/.build/.doctrees -N docs/source $(CURDIR)/debian/python-django-postgres-extra-doc/usr/share/doc/python-django-postgres-extra-doc/html
dh_sphinxdoc
endif
override_dh_clean:
rm -rf docs/.build/
dh_clean
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment