summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLee Garrett <lgarrett@rocketjump.eu>2023-08-18 23:49:22 +0200
committerLee Garrett <lgarrett@rocketjump.eu>2023-08-18 23:49:22 +0200
commite8112d70bdf27406ac4b97427b017eed2cdf7c2f (patch)
tree0201cc8359cb1fe7a19fada7cb091c039102d588
parent5fe9f3b75b9aab0bb3c9a9643b2ddd8f0adfa3cb (diff)
downloaddebian-ansible-core-e8112d70bdf27406ac4b97427b017eed2cdf7c2f.zip
Adapt to upstream change of man page building
-rwxr-xr-xdebian/rules6
1 files changed, 5 insertions, 1 deletions
diff --git a/debian/rules b/debian/rules
index 0c06b970..ec65e522 100755
--- a/debian/rules
+++ b/debian/rules
@@ -18,9 +18,13 @@ override_dh_clean:
--exclude=test/units/inventory_test_data/group_vars/noparse/all.yml~ \
--exclude=test/integration/targets/collections/collection_root_user/ansible_collections/testns/testcoll/plugins/modules/uses_leaf_mu_flat_import.bak
+ # now not part of the package anymore
+ rm -Rf docs/man/
+
execute_after_dh_auto_build:
# manpage documentation
- $(MAKE) docs
+ mkdir -p docs/man/man1/
+ /usr/bin/python3 packaging/cli-doc/build.py man --output-dir docs/man/man1/
ifneq (,$(filter ansible-doc,$(DOPACKAGES)))
# html documentation
$(MAKE) webdocs