adding .PHONY for 3 rules (#78510)

rules: docs, version, install_manpages
pull/78528/head
Remi-Mergen 2 years ago committed by GitHub
parent 3add5e9321
commit cb0215bcdd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -114,6 +114,7 @@ python:
install: install:
$(PYTHON) setup.py install $(PYTHON) setup.py install
.PHONY: install_manpages
install_manpages: install_manpages:
gzip -9 $(wildcard ./docs/man/man1/ansible*.1) gzip -9 $(wildcard ./docs/man/man1/ansible*.1)
cp $(wildcard ./docs/man/man1/ansible*.1.gz) $(PREFIX)/man/man1/ 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/ ; \ 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 $(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 docs: generate_rst
$(MAKE) $(MANPAGES) $(MAKE) $(MANPAGES)
.PHONY: version
version: version:
@echo $(VERSION) @echo $(VERSION)

Loading…
Cancel
Save