From cec2dd6a7c1864461e9bad72ac72553e27004981 Mon Sep 17 00:00:00 2001 From: Daniel Hahler Date: Wed, 3 Apr 2019 18:04:50 +0200 Subject: [PATCH] doc/en/Makefile: allow passing in REGENDOC_FILES This allows for: > make -C doc/en regen REGENDOC_FILES=example/parametrize.rst --- doc/en/Makefile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/doc/en/Makefile b/doc/en/Makefile index cc06178f4..826ac61cb 100644 --- a/doc/en/Makefile +++ b/doc/en/Makefile @@ -39,8 +39,9 @@ help: clean: -rm -rf $(BUILDDIR)/* +regen: REGENDOC_FILES:=*.rst */*.rst regen: - PYTHONDONTWRITEBYTECODE=1 PYTEST_ADDOPTS=-pno:hypothesis COLUMNS=76 regendoc --update *.rst */*.rst ${REGENDOC_ARGS} + PYTHONDONTWRITEBYTECODE=1 PYTEST_ADDOPTS=-pno:hypothesis COLUMNS=76 regendoc --update ${REGENDOC_FILES} ${REGENDOC_ARGS} html: $(SPHINXBUILD) -b html $(ALLSPHINXOPTS) $(BUILDDIR)/html