changeset 178:0eec7988fdc0

Make targets: "docs" -> "doc"
author Franz Glasner <fzglas.hg@dom66.de>
date Tue, 12 May 2026 09:46:05 +0200
parents b291f1e2319d
children 94384bbcf1aa
files Makefile
diffstat 1 files changed, 9 insertions(+), 9 deletions(-) [+]
line wrap: on
line diff
--- a/Makefile	Mon May 11 16:16:51 2026 +0200
+++ b/Makefile	Tue May 12 09:46:05 2026 +0200
@@ -4,10 +4,10 @@
 # SPDX-License-Identifier: MIT
 # :-
 
-.PHONY: help all clean distclean dist export build tests flake8 docs clean-docs docs-html clean-docs-html docs-pdf clean-docs-pdf install-dev install-docs
+.PHONY: help all clean distclean dist export build tests flake8 doc clean-doc doc-html clean-doc-html doc-pdf clean-doc-pdf install-dev install-doc
 
 help:
-	@echo Targets: help, clean, distclean, export, dist, build, tests, docs clean-docs
+	@echo Targets: help, clean, distclean, export, dist, build, tests, doc clean-doc
 
 all: tests flake8
 
@@ -34,27 +34,27 @@
 	-flake8 pygments_lexer_pseudocode2
 	-flake8 tests
 
-docs: docs-html docs-pdf
+doc: doc-html doc-pdf
 
-clean-docs:
+clean-doc:
 	(cd docs && make clean)
 
-docs-html:
+doc-html:
 	(cd docs && make html)
 
-clean-docs-html:
+clean-doc-html:
 	rm -rf docs/_build/html
 
-docs-pdf:
+doc-pdf:
 	(cd docs && make latex)
 	(cd docs/_build/latex && gmake)
 
-clean-docs-pdf:
+clean-doc-pdf:
 	rm -rf docs/_build/latex
 
 install-dev:
 	python -m pip install -r requirements-dev.txt
 
-install-docs:
+install-doc:
 	python -m pip install -r requirements-docs.txt
 	python -m pip install --editable .