From 2b865cf90a6e5f0c0cd68e7f9fd097367fc8ac21 Mon Sep 17 00:00:00 2001 From: jfbu Date: Sat, 15 Oct 2016 23:42:00 +0200 Subject: [PATCH] Make ``make`` synonym to ``make help`` again --- sphinx/templates/quickstart/Makefile.new_t | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/sphinx/templates/quickstart/Makefile.new_t b/sphinx/templates/quickstart/Makefile.new_t index 1da216c10..3b693e144 100644 --- a/sphinx/templates/quickstart/Makefile.new_t +++ b/sphinx/templates/quickstart/Makefile.new_t @@ -8,7 +8,10 @@ SPHINXPROJ = {{ project_fn }} SOURCEDIR = {{ rsrcdir }} BUILDDIR = {{ rbuilddir }} -.PHONY: Makefile +help: + @$(SPHINXBUILD) -M $@ "$(SOURCEDIR)" "$(BUILDDIR)" $(SPHINXOPTS) $(O) + +.PHONY: help Makefile # Catch-all target: route all unknown targets to Sphinx using the new # "make mode" option. $(O) is meant as a shortcut for $(SPHINXOPTS).