Skip to content

Commit

Permalink
Merge pull request #493 from clebergnu/make_man
Browse files Browse the repository at this point in the history
Makefile: have a better target/recipe with deps for man pages
  • Loading branch information
lmr committed Mar 19, 2015
2 parents 7bd4cb0 + b7115a0 commit 3d4adde
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -64,8 +64,10 @@ link:
test -f ../avocado-virt/avocado/plugins/virt.py && ln -s ../../../avocado-virt/avocado/plugins/virt.py avocado/plugins/ || true
test -f ../avocado-virt/avocado/plugins/virt_bootstrap.py && ln -s ../../../avocado-virt/avocado/plugins/virt_bootstrap.py avocado/plugins/ || true

man:
rst2man man/avocado.rst man/avocado.1
rst2man man/avocado-rest-client.rst man/avocado-rest-client.1
man: man/avocado.1 man/avocado-rest-client.1

.PHONY: source install clean check link man
.PHONY: source install clean check link

# implicit rule/recipe for man page creation
%.1: %.rst
rst2man $< $@

0 comments on commit 3d4adde

Please sign in to comment.