Codebase list pastedeploy / f74b068
d/rules: Change docs suffix from txt to rst Ondřej Nový 5 years ago
2 changed file(s) with 4 addition(s) and 3 deletion(s). Raw diff Collapse all Expand all
44 * Bump debhelper compat level to 12 and use debhelper-compat
55 * Bump standards version to 4.3.0 (no changes)
66 * Use pytest instead of nose (same as upstream)
7 * d/rules: Change docs suffix from txt to rst
78
89 -- Ondřej Nový <onovy@debian.org> Mon, 31 Dec 2018 23:52:09 +0100
910
44 rm {destdir}{install_dir}/*/namespace_packages.txt
55
66 DOCS=$(shell cd docs &&\
7 find ./ -maxdepth 1 -name "*.txt" -not -name "license.txt" -printf "%p " |\
8 sed "s/.txt//g")
7 find ./ -maxdepth 1 -name "*.rst" -not -name "license.txt" -printf "%p " |\
8 sed "s/.rst//g")
99
1010 %:
1111 dh $@ --buildsystem=pybuild --with=python2,python3
1212
1313 override_dh_installdocs:
1414 set -e; for NAME in $(DOCS); do \
15 rst2html --cloak-email-addresses --no-toc-backlinks "docs/$$NAME.txt" \
15 rst2html --cloak-email-addresses --no-toc-backlinks "docs/$$NAME.rst" \
1616 > "$(CURDIR)/debian/python-pastedeploy/usr/share/doc/python-pastedeploy/docs/$$NAME.html"; \
1717 done
1818 dh_installdocs