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 <sebastic@debian.org> 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/pkg-info.mk
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:
override_dh_auto_build:
dh_auto_build
PYTHONPATH=. http_proxy='127.0.0.1:9' sphinx-build -N -bhtml docs/ build/html # HTML generator
ronn debian/man/pycsw-admin.md
mv debian/man/pycsw-admin.md.1 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; \
done
rm -f debian/man/*.html
override_dh_auto_test:
......
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