提交 2dbccce9 编写于 作者: C Cleber Rosa

Makefile: add "man" target for generating the man page

Signed-off-by: NCleber Rosa <crosa@redhat.com>
上级 16c1fd41
...@@ -11,6 +11,7 @@ all: ...@@ -11,6 +11,7 @@ all:
@echo "make build-deb-bin - Generate a binary debian package" @echo "make build-deb-bin - Generate a binary debian package"
@echo "make build-deb-all - Generate both source and binary debian packages" @echo "make build-deb-all - Generate both source and binary debian packages"
@echo "make build-rpm-all - Generate both source and binary RPMs" @echo "make build-rpm-all - Generate both source and binary RPMs"
@echo "make man - Generate the avocado man page"
@echo "make clean - Get rid of scratch and byte files" @echo "make clean - Get rid of scratch and byte files"
source: source:
...@@ -47,6 +48,12 @@ clean: ...@@ -47,6 +48,12 @@ clean:
$(MAKE) -f $(CURDIR)/debian/rules clean || true $(MAKE) -f $(CURDIR)/debian/rules clean || true
rm -rf build/ MANIFEST BUILD BUILDROOT SPECS RPMS SRPMS SOURCES rm -rf build/ MANIFEST BUILD BUILDROOT SPECS RPMS SRPMS SOURCES
find . -name '*.pyc' -delete find . -name '*.pyc' -delete
rm -f man/avocado.1
check: check:
selftests/checkall selftests/checkall
man:
rst2man man/avocado.rst man/avocado.1
.PHONY: source install clean check man
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册