mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-10-21 19:43:59 -07:00
Update %description and auto-add version to manpages
Conflicts: docs/man/man1/ansible-playbook.1 docs/man/man1/ansible.1 Update %description
This commit is contained in:
parent
9316a504c5
commit
2d26d1fd71
7 changed files with 40 additions and 16 deletions
7
Makefile
7
Makefile
|
@ -16,10 +16,10 @@ tests:
|
|||
|
||||
docs: $(MANPAGES)
|
||||
|
||||
%.1: %.1.asciidoc
|
||||
$(ASCII2MAN)
|
||||
%.1.asciidoc.gen: %.1.asciidoc ansible.spec
|
||||
sed "s/%VERSION%/$(RPMVERSION)/" $< > $@
|
||||
|
||||
%.5: %.5.asciidoc
|
||||
%.1: %.1.asciidoc.gen
|
||||
$(ASCII2MAN)
|
||||
|
||||
loc:
|
||||
|
@ -45,6 +45,7 @@ clean:
|
|||
find . -type f \( -name "*.swp" \) -delete
|
||||
@echo "Cleaning up asciidoc to man transformations and results"
|
||||
find ./docs/man -type f -name "*.xml" -delete
|
||||
find ./docs/man -type f -name "*.gen" -delete
|
||||
@echo "Cleaning up output from test runs"
|
||||
-rm -rf test/test_data
|
||||
@echo "Cleaning up RPM building stuff"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue