diff options
Diffstat (limited to 'docs/Makefile')
-rw-r--r-- | docs/Makefile | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/docs/Makefile b/docs/Makefile index 95de3969..68f7e497 100644 --- a/docs/Makefile +++ b/docs/Makefile @@ -6,6 +6,7 @@ SPHINXOPTS = SPHINXBUILD = sphinx-build PAPER = BUILDDIR = build +PYTHON = python # Internal variables. PAPEROPT_a4 = -D latex_paper_size=a4 @@ -43,13 +44,13 @@ help: @echo " doctest to run all doctests embedded in the documentation (if enabled)" $(COMMAND_OPTION_TABLES): ../alot/commands/__init__.py - python source/generate_commands.py + $(PYTHON) source/generate_commands.py $(CONFIG_OPTION_TABLES): ../alot/defaults/alot.rc.spec - python source/generate_configs.py + $(PYTHON) source/generate_configs.py clean: - -rm -rf $(BUILDDIR)/* + -$(RM) -rf $(BUILDDIR)/* html: $(CONFIG_OPTION_TABLES) $(COMMAND_OPTION_TABLES) $(SPHINXBUILD) -b html $(ALLSPHINXOPTS) $(BUILDDIR)/html |