aboutsummaryrefslogtreecommitdiffstats
path: root/test/plugin_sphinx.mk
diff options
context:
space:
mode:
authorLoïc Hoguin <[email protected]>2018-12-07 19:40:02 +0100
committerLoïc Hoguin <[email protected]>2018-12-07 19:40:02 +0100
commita3cd50792d0ed1c5dfee66ff79ee7117057e9970 (patch)
tree79c76f50159c7d63fc313628b8b0715831537b42 /test/plugin_sphinx.mk
parent1fb70e0d435e5058c558f89d223a0f6ba3bd5342 (diff)
downloaderlang.mk-a3cd50792d0ed1c5dfee66ff79ee7117057e9970.tar.gz
erlang.mk-a3cd50792d0ed1c5dfee66ff79ee7117057e9970.tar.bz2
erlang.mk-a3cd50792d0ed1c5dfee66ff79ee7117057e9970.zip
Autopatch: allow configuring REBAR_GIT and REBAR_COMMIT
And use this in the tests to fetch Rebar only once and then clone from the local repository. This should speed up tests a little.
Diffstat (limited to 'test/plugin_sphinx.mk')
-rw-r--r--test/plugin_sphinx.mk8
1 files changed, 4 insertions, 4 deletions
diff --git a/test/plugin_sphinx.mk b/test/plugin_sphinx.mk
index d5e51e4..915bf8b 100644
--- a/test/plugin_sphinx.mk
+++ b/test/plugin_sphinx.mk
@@ -11,7 +11,7 @@ endif
sphinx: $(SPHINX_TARGETS)
-sphinx-build: build clean
+sphinx-build: init
$i "Bootstrap a new OTP application named $(APP)"
$t mkdir $(APP)/
@@ -44,7 +44,7 @@ sphinx-build: build clean
$i "Check that the 'today' macro was defined"
$t grep -q erlang_mk_sphinx_today $(APP)/html/manpage.html
-sphinx-source-dir: build clean
+sphinx-source-dir: init
$i "Bootstrap a new OTP application named $(APP)"
$t mkdir $(APP)/
@@ -64,7 +64,7 @@ sphinx-source-dir: build clean
$t test -f $(APP)/html/index.html
$t test -f $(APP)/html/manpage.html
-sphinx-formats: build clean
+sphinx-formats: init
$i "Bootstrap a new OTP application named $(APP)"
$t mkdir $(APP)/
@@ -113,7 +113,7 @@ sphinx-formats: build clean
$t test ! -e $(APP)/sphinx/html_output/index.html
$t test ! -e $(APP)/sphinx/html_output/manpage.html
-sphinx-format-opts: build clean
+sphinx-format-opts: init
$i "Bootstrap a new OTP application named $(APP)"
$t mkdir $(APP)/