diff --git a/Makefile.sphinx b/Makefile.sphinx
index 424617169cc1ace466778639b757bef2232c541c..c4ab795873d4b9a96ff2cabe31383b01c63b2f5c 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 5a1770d9e96add6c8f85680d709dafe608b3df65..fcef11522091455203d9f2da1ec67c04ecedc47c 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