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=django-pgschemas
7 export PYBUILD_DISABLE=test
8
9 %:
10 dh $@ --buildsystem=pybuild
11
12 execute_before_dh_mkdocs:
13 ifeq (,$(findstring nodoc, $(DEB_BUILD_OPTIONS)))
14 mkdocs build -d $(CURDIR)/debian/python-django-pgschemas-doc/usr/share/doc/python-django-pgschemas-doc/html
15 rm -f $(CURDIR)/debian/python-django-pgschemas-doc/usr/share/doc/python-django-pgschemas-doc/html/sitemap.xml.gz
16 endif