diff options
author | Bryn M. Reeves <bmr@redhat.com> | 2015-03-02 18:12:55 +0000 |
---|---|---|
committer | Bryn M. Reeves <bmr@redhat.com> | 2015-03-02 18:12:55 +0000 |
commit | 1f819a18c1a96a7c46311c054be80aeb29040750 (patch) | |
tree | 41898e4ab92ab51f802d97ec589bbec2efe29636 /Makefile | |
parent | b54a0f11ee4d47bde112ea45fe3e48db3cf22673 (diff) | |
download | sos-1f819a18c1a96a7c46311c054be80aeb29040750.tar.gz |
[docs] build docs by default
Build the docs 'html' and 'man' targets when the 'build' target is
built.
Signed-off-by: Bryn M. Reeves <bmr@redhat.com>
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 6 |
1 files changed, 5 insertions, 1 deletions
@@ -9,7 +9,7 @@ MINOR := $(shell echo $(VERSION) | cut -f 2 -d '.') RELEASE := $(shell echo `awk '/^Release:/ {gsub(/\%.*/,""); print $2}' sos.spec`) REPO = https://github.com/sosreport/sos -SUBDIRS = po sos sos/plugins sos/policies +SUBDIRS = po sos sos/plugins sos/policies docs PYFILES = $(wildcard *.py) # OS X via brew # MSGCAT = /usr/local/Cellar/gettext/0.18.1.1/bin/msgcat @@ -30,6 +30,10 @@ DEB_ARCHIVE_DIR = $(DIST_BUILD_DIR)/$(NAME)report-$(VERSION) SRC_BUILD = $(DIST_BUILD_DIR)/sdist PO_DIR = $(SRC_BUILD)/sos/po +.PHONY: docs +docs: + make -C docs html man + build: for d in $(SUBDIRS); do make -C $$d; [ $$? = 0 ] || exit 1 ; done |