1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28
|
#!/usr/bin/make -f
export LC_ALL=C.UTF-8
export LANG=C.UTF-8
export READTHEDOCS=no
%:
dh $@ --with=python3 --buildsystem=pybuild
override_dh_auto_clean:
-dh_auto_clean
rm -rf docs/build features/output coverage.xml .coverage*
rm -rf .cache .eggs dummy junit.xml .pybuild
override_dh_auto_build:
dh_auto_build
(cd docs; $(MAKE) html)
override_dh_installinit:
# init script installed via debian/patroni.install
dh_installinit -ppatroni --only-scripts
override_dh_installdocs:
dh_installdocs
dh_sphinxdoc /usr/share/doc/patroni/html
override_dh_auto_test:
# nothing to do here, see debian/tests/* instead
|