diff options
author | Brian Coca <brian.coca+git@gmail.com> | 2017-03-23 06:13:23 +0100 |
---|---|---|
committer | Brian Coca <bcoca@users.noreply.github.com> | 2017-03-24 20:52:36 +0100 |
commit | 424e1946f435c5228b450d802a16a585a7798665 (patch) | |
tree | 9b93634262a2addc329d2dbda7dbc92483824e39 /Makefile | |
parent | draft to generate man pages (diff) | |
download | ansible-424e1946f435c5228b450d802a16a585a7798665.tar.xz ansible-424e1946f435c5228b450d802a16a585a7798665.zip |
moved docs generation and templates to docs/
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -21,7 +21,7 @@ OS = $(shell uname -s) # Manpages are currently built with asciidoc -- would like to move to markdown # This doesn't evaluate until it's called. The -D argument is the # directory of the target file ($@), kinda like `dirname`. -MANPAGES := docs/man/man1/ansible.1 docs/man/man1/ansible-playbook.1 docs/man/man1/ansible-pull.1 docs/man/man1/ansible-doc.1 docs/man/man1/ansible-galaxy.1 docs/man/man1/ansible-vault.1 docs/man/man1/ansible-console.1 +MANPAGES := docs/man/man1/ansible.1 docs/man/man1/ansible-playbook.1 docs/man/man1/ansible-pull.1 docs/man/man1/ansible-doc.1 docs/man/man1/ansible-galaxy.1 ifneq ($(shell which a2x 2>/dev/null),) ASCII2MAN = a2x -L -D $(dir $@) -d manpage -f manpage $< ASCII2HTMLMAN = a2x -L -D docs/html/man/ -d manpage -f xhtml @@ -160,6 +160,7 @@ clean: find ./docs/man -type f -name "*.xml" -delete find ./docs/man -type f -name "*.asciidoc" -delete find ./docs/man/man3 -type f -name "*.3" -delete + find ./docs/man/man1 -type f -name "*.1" -delete @echo "Cleaning up output from test runs" rm -rf test/test_data @echo "Cleaning up RPM building stuff" |