Commit 068ca2de authored by Bas Couwenberg's avatar Bas Couwenberg

Make ronn generated manpage renaming more robust.

parent cdc89c65
pycsw (2.2.0+dfsg-7) UNRELEASED; urgency=medium
* Make ronn generated manpage renaming more robust.
-- Bas Couwenberg <> Tue, 05 Mar 2019 12:14:07 +0100
pycsw (2.2.0+dfsg-6) unstable; urgency=medium
* Team upload.
......@@ -3,6 +3,10 @@
export PYBUILD_NAME=pycsw
include /usr/share/dpkg/
BUILD_DATE := $(shell LC_ALL=C date -u "+%Y-%m-%d" -d "@$(SOURCE_DATE_EPOCH)")
dh $@ --with python2,python3,sphinxdoc,apache2 --buildsystem pybuild --parallel
......@@ -12,8 +16,10 @@ override_dh_clean:
PYTHONPATH=. http_proxy='' sphinx-build -N -bhtml docs/ build/html # HTML generator
ronn debian/man/
mv debian/man/ debian/man/pycsw-admin.1
ronn -r --date="$(BUILD_DATE)" --manual=pycsw debian/man/*.md
for FILE in debian/man/*.md.1; do \
mv -v $$FILE debian/man/`basename $$FILE .md.1`.1; \
rm -f debian/man/*.html
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment