diff Makefile @ 171:4b87a9ecffdd

The first somewhat useable version of documentation in PDF. Using lualatex and the IBM Plex fonts. BUGS: - line-breaks - missing symbols
author Franz Glasner <fzglas.hg@dom66.de>
date Mon, 11 May 2026 14:38:59 +0200
parents ddefcc20367c
children b291f1e2319d
line wrap: on
line diff
--- a/Makefile	Mon May 11 10:52:43 2026 +0200
+++ b/Makefile	Mon May 11 14:38:59 2026 +0200
@@ -4,7 +4,7 @@
 # SPDX-License-Identifier: MIT
 # :-
 
-.PHONY: help all clean distclean dist export build tests flake8 docs clean-docs clean-docs-html install-dev install-docs
+.PHONY: help all clean distclean dist export build tests flake8 docs clean-docs clean-docs-html pdf clean-pdf install-dev install-docs
 
 help:
 	@echo Targets: help, clean, distclean, export, dist, build, tests docs clean-docs
@@ -43,6 +43,13 @@
 clean-docs-html:
 	rm -rf docs/_build/html
 
+pdf:
+	(cd docs && make latex)
+	(cd docs/_build/latex && gmake)
+
+clean-pdf:
+	rm -rf docs/_build/latex
+
 install-dev:
 	python -m pip install -r requirements-dev.txt