summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorRemi-Mergen <91549087+Remi-Mergen@users.noreply.github.com>2022-08-11 21:11:32 +0200
committerGitHub <noreply@github.com>2022-08-11 15:11:32 -0400
commitcb0215bcddfc8c6d850c1893618282ed19895e6f (patch)
treef84425815f0ae2eac93ca9865436494e2226805b /Makefile
parent3add5e932178799f8409f3255f148260efa7b4ac (diff)
downloadansible-cb0215bcddfc8c6d850c1893618282ed19895e6f.tar.gz
adding .PHONY for 3 rules (#78510)
rules: docs, version, install_manpages
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile3
1 files changed, 3 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 45421e88e0..079386b08e 100644
--- a/Makefile
+++ b/Makefile
@@ -114,6 +114,7 @@ python:
install:
$(PYTHON) setup.py install
+.PHONY: install_manpages
install_manpages:
gzip -9 $(wildcard ./docs/man/man1/ansible*.1)
cp $(wildcard ./docs/man/man1/ansible*.1.gz) $(PREFIX)/man/man1/
@@ -147,8 +148,10 @@ generate_rst: lib/ansible/cli/*.py
mkdir -p ./docs/man/man1/ ; \
$(PYTHON) $(GENERATE_CLI) --template-file=docs/templates/man.j2 --output-dir=docs/man/man1/ --output-format man lib/ansible/cli/*.py
+.PHONY: docs
docs: generate_rst
$(MAKE) $(MANPAGES)
+.PHONY: version
version:
@echo $(VERSION)