You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@couchdb.apache.org by ja...@apache.org on 2015/04/03 17:53:05 UTC
documentation commit: updated refs/heads/master to 10828f8
Repository: couchdb-documentation
Updated Branches:
refs/heads/master 1c4a6b967 -> 10828f857
make builds idempotent
Project: http://git-wip-us.apache.org/repos/asf/couchdb-documentation/repo
Commit: http://git-wip-us.apache.org/repos/asf/couchdb-documentation/commit/10828f85
Tree: http://git-wip-us.apache.org/repos/asf/couchdb-documentation/tree/10828f85
Diff: http://git-wip-us.apache.org/repos/asf/couchdb-documentation/diff/10828f85
Branch: refs/heads/master
Commit: 10828f85730b44832340e5c694343cddcd22969c
Parents: 1c4a6b9
Author: Jan Lehnardt <ja...@apache.org>
Authored: Fri Apr 3 17:53:00 2015 +0200
Committer: Jan Lehnardt <ja...@apache.org>
Committed: Fri Apr 3 17:53:00 2015 +0200
----------------------------------------------------------------------
Makefile | 22 ++++++++++++++++------
1 file changed, 16 insertions(+), 6 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/couchdb-documentation/blob/10828f85/Makefile
----------------------------------------------------------------------
diff --git a/Makefile b/Makefile
index a748810..02773bb 100644
--- a/Makefile
+++ b/Makefile
@@ -17,37 +17,47 @@ PAPERSIZE := -D latex_paper_size=a4
SPHINXFLAGS := -a -E -W -n -A local=1 $(PAPERSIZE) -d $(BUILDDIR)/doctree
SPHINXOPTS := $(SPHINXFLAGS) $(SOURCE)
-all: distclean html pdf info man install clean
+all: html pdf info man
clean:
rm -rf $(BUILDDIR)
-html:
+html: build/html
+
+build/html:
ifeq ($(shell which $(SPHINXBUILD) >/dev/null 2>&1; echo $$?), 1)
$(error ensure that $(SPHINXBUILD) is installed and on your path)
endif
$(SPHINXBUILD) -b html $(SPHINXOPTS) $(BUILDDIR)/html
-latex:
+latex: build/latex
+
+build/latex:
ifeq ($(shell which tex >/dev/null 2>&1; echo $$?), 1)
$(error ensure that tex is installed and on your path)
endif
$(SPHINXBUILD) -b latex $(SPHINXOPTS) $(BUILDDIR)/latex
-pdf: latex
+pdf: latex build/latex/CouchDB.pdf
+
+build/latex/CouchDB.pdf:
ifeq ($(shell which pdflatex >/dev/null 2>&1; echo $$?), 1)
$(error ensure that pdflatex is installed and on your path)
endif
$(MAKE) -C $(BUILDDIR)/latex all-pdf
-info:
+info: build/texinfo
+
+build/texinfo:
ifeq ($(shell which makeinfo >/dev/null 2>&1; echo $$?), 1)
$(error ensure that makeinfo is installed and on your path)
endif
$(SPHINXBUILD) -b texinfo $(SPHINXOPTS) $(BUILDDIR)/texinfo
make -C $(BUILDDIR)/texinfo info
-man:
+man: build/man
+
+build/man:
$(SPHINXBUILD) -b man $(SPHINXOPTS) $(BUILDDIR)/man
check: