From 2815ce43ac290899927288c866a1088c54f279fa Mon Sep 17 00:00:00 2001
From: David Douard <david.douard@sdfa3.org>
Date: Mon, 12 Nov 2018 13:50:40 +0100
Subject: [PATCH] make-doc: use the docs-assets target instead of the
 full-sphinx-build docs

so we do not build each swh-* twice with unavaoidable sphinx wrnings when
building each repo locally.
---
 Makefile.sphinx | 2 ++
 docs/Makefile   | 2 +-
 2 files changed, 3 insertions(+), 1 deletion(-)

diff --git a/Makefile.sphinx b/Makefile.sphinx
index 42461716..c4ab7958 100644
--- a/Makefile.sphinx
+++ b/Makefile.sphinx
@@ -42,6 +42,8 @@ apidoc-stamp:
 	find $(shell pwd)/apidoc -name "*.rst" | xargs sed -i '1i:orphan:\n'
 	touch $@
 
+assets:
+
 .PHONY: clean clean-apidoc
 clean: sphinx/clean clean-apidoc
 clean-apidoc:
diff --git a/docs/Makefile b/docs/Makefile
index 5a1770d9..fcef1152 100644
--- a/docs/Makefile
+++ b/docs/Makefile
@@ -33,7 +33,7 @@ images-stamp:
 # non-sphinx managed documentation artifacts (e.g., schema diagrams) are also
 # built.
 rec-build-stamp: $(wildcard ../../swh-*/docs/*.rst)
-	$(MAKE) -C ../../ docs
+	$(MAKE) -C ../../ docs-assets
 	touch $@
 
 clean: sphinx/clean
-- 
GitLab