couchdb-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From kxe...@apache.org
Subject [1/2] documentation commit: updated refs/heads/master to fef8f92
Date Sat, 22 Aug 2015 11:41:12 GMT
Repository: couchdb-documentation
Updated Branches:
  refs/heads/master 18cc926bb -> fef8f9283


Revert idempotent builds

Rebuilding all the docs for every change doesn't makes work pleasure,
especially since sphinx supports incremental builds and you'd only
changed one single file.

If you need to check full build, you can always make clear and build
all again.


Project: http://git-wip-us.apache.org/repos/asf/couchdb-documentation/repo
Commit: http://git-wip-us.apache.org/repos/asf/couchdb-documentation/commit/fef8f928
Tree: http://git-wip-us.apache.org/repos/asf/couchdb-documentation/tree/fef8f928
Diff: http://git-wip-us.apache.org/repos/asf/couchdb-documentation/diff/fef8f928

Branch: refs/heads/master
Commit: fef8f9283bebe4370b40230c3da7123d2d916adb
Parents: e2135d2
Author: Alexander Shorin <kxepal@apache.org>
Authored: Sat Aug 8 21:55:05 2015 +0300
Committer: Alexander Shorin <kxepal@apache.org>
Committed: Sat Aug 22 14:40:31 2015 +0300

----------------------------------------------------------------------
 Makefile | 28 +++++++++-------------------
 1 file changed, 9 insertions(+), 19 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/couchdb-documentation/blob/fef8f928/Makefile
----------------------------------------------------------------------
diff --git a/Makefile b/Makefile
index 9562857..a36345c 100644
--- a/Makefile
+++ b/Makefile
@@ -18,7 +18,7 @@ MAKEINFO     := makeinfo
 BUILDDIR     := build
 SOURCE       := src/
 PAPERSIZE    := -D latex_paper_size=a4
-SPHINXFLAGS  := -a -E -W -n -A local=1 $(PAPERSIZE) -d $(BUILDDIR)/doctree
+SPHINXFLAGS  := -a -W -n -A local=1 $(PAPERSIZE) -d $(BUILDDIR)/doctree
 SPHINXOPTS   := $(SPHINXFLAGS) $(SOURCE)
 
 ENSURECMD=\
@@ -32,31 +32,21 @@ all: html pdf info man
 clean:
 	rm -rf $(BUILDDIR)
 
-html: build/html
+html: $(SPHINXBUILD)
+	$(SPHINXBUILD) -b $@ $(SPHINXOPTS) $(BUILDDIR)/$@
 
-build/html: $(SPHINXBUILD)
-	$(SPHINXBUILD) -b html $(SPHINXOPTS) $(BUILDDIR)/html
+latex: $(TEX)
+	$(SPHINXBUILD) -b $@ $(SPHINXOPTS) $(BUILDDIR)/$@
 
-latex: build/latex
-
-build/latex: $(SPHINXBUILD) $(TEX)
-	$(SPHINXBUILD) -b latex $(SPHINXOPTS) $(BUILDDIR)/latex
-
-pdf: latex build/latex/CouchDB.pdf
-
-build/latex/CouchDB.pdf: $(PDFLATEX)
+pdf: latex $(PDFLATEX)
 	$(MAKE) -C $(BUILDDIR)/latex all-pdf
 
-info: build/texinfo
-
-build/texinfo: $(SPHINXBUILD) $(MAKEINFO)
+info: $(SPHINXBUILD) $(MAKEINFO)
 	$(SPHINXBUILD) -b texinfo $(SPHINXOPTS) $(BUILDDIR)/texinfo
 	make -C $(BUILDDIR)/texinfo info
 
-man: build/man
-
-build/man: $(SPHINXBUILD)
-	$(SPHINXBUILD) -b man $(SPHINXOPTS) $(BUILDDIR)/man
+man: $(SPHINXBUILD)
+	$(SPHINXBUILD) -b $@ $(SPHINXOPTS) $(BUILDDIR)/$@
 
 check:
 	python ext/linter.py $(SOURCE)


Mime
View raw message