Debian Codegraph @

debian/rules

raw
1 #!/usr/bin/make -f
2
3 # Uncomment this to turn on verbose mode.
4 #export DH_VERBOSE=1
5
6 export PYBUILD_NAME=pamqp
7
8 %:
9 dh $@ --with python3,mkdocs --buildsystem=pybuild
10
11 execute_before_dh_mkdocs:
12 ifeq (,$(findstring nodoc, $(DEB_BUILD_OPTIONS)))
13 python3 -m mkdocs build -d $(CURDIR)/debian/python-pamqp-doc/usr/share/doc/python-pamqp-doc/html
14 rm -f $(CURDIR)/debian/python-pamqp-doc/usr/share/doc/python-pamqp-doc/html/sitemap.xml.gz
15 endif