Debian Codegraph @

debian/rules

raw
1 #!/usr/bin/make -f
2
3 export PYBUILD_NAME=sniffio
4
5 %:
6 dh $@ --buildsystem=pybuild
7
8 execute_before_dh_sphinxdoc:
9 ifeq (,$(findstring nodoc, $(DEB_BUILD_OPTIONS)))
10 PYTHONPATH=$(CURDIR) python3 -m sphinx -b html -d $(CURDIR)/docs/.build/.doctrees -N $(CURDIR)/docs/source $(CURDIR)/debian/python-sniffio-doc/usr/share/doc/python-sniffio-doc/html
11 endif
12
13 execute_after_dh_clean:
14 rm -rf $(CURDIR)/docs/.build