view docs/Makefile @ 561:a6a9d46f071f

Make ifdef and ifndef complain if they aren't given a symbol If makes no sense to test "nothing" for definedness. If no symbol is provided to ifdef or ifndef, complain about a bad operand.
author William Astle <lost@l-w.ca>
date Thu, 30 Nov 2023 16:54:12 -0700
parents fc166b3bbae3
children
line wrap: on
line source

all:
	rm -f manual/*.pdf manual/*.html
	docbook2html -o manual manual.docbook.sgml
	docbook2html -u manual.docbook.sgml && mv manual.docbook.html manual/manual.html
	docbook2pdf -u manual.docbook.sgml && mv manual.docbook.pdf manual/manual.pdf
	rm -f manual.docbook.html

maint:
	hg rm --force manual/* || true
	$(MAKE) all
	hg add manual/*