| 1 |
#!/usr/bin/make -f |
| 2 |
# -*- makefile -*- |
| 3 |
|
| 4 |
#export DH_VERBOSE = 1 |
| 5 |
|
| 6 |
#SPHINXOPTS := -E -N |
| 7 |
|
| 8 |
export PYBUILD_NAME=litestar_htmx |
| 9 |
|
| 10 |
%: |
| 11 |
dh $@ --buildsystem=pybuild |
| 12 |
|
| 13 |
override_dh_clean: |
| 14 |
rm -rf .mypy_cache .pytest_cache |
| 15 |
dh_clean |
| 16 |
|
| 17 |
#override_dh_sphinxdoc: |
| 18 |
#ifeq (,$(findstring nodoc, $(DEB_BUILD_OPTIONS))) |
| 19 |
# HOME=$(CURDIR)/debian \ |
| 20 |
# PYTHONPATH=`dirname $$(find .pybuild/ -type d -name "$(PYBUILD_NAME)*dist-info" | head -n1)` \ |
| 21 |
# python3 -m sphinx -b html $(SPHINXOPTS) docs $(CURDIR)/debian/python-litestar-htmx-doc/usr/share/doc/python-litestar-htmx-doc/html |
| 22 |
# dh_sphinxdoc |
| 23 |
#endif |