commit: 3b8a751b17423d66beddd66fc585b740ed6f3b18
parent a6b1c33ad00c231fa41fbae9fe5e830cd4e5c841
Author: Haelwenn (lanodan) Monnier <contact@hacktivis.me>
Date: Sat, 12 Oct 2024 23:55:58 +0200
Makefile: Allow History section as fallback from Standards
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/Makefile b/Makefile
@@ -47,7 +47,7 @@ check_status:
.PHONY: check-man
check-man: $(MAN1SO)
err=0; for i in $(EXE); do if test ! -f $$i.1 && test ! -f $$i.1.in; then echo "$$i: missing manpage"; err=1; fi; done; exit $$err
- for i in $(MAN1) ; do grep -q 'EXIT STATUS' $$i || echo "$i lacks EXIT STATUS"; grep -q 'STANDARDS' $$i || echo "$i lacks STANDARDS"; done
+ for i in $(MAN1) ; do grep -q 'EXIT STATUS' $$i || echo "$i lacks EXIT STATUS"; grep -q -e 'STANDARDS' -e 'HISTORY' $$i || echo "$i lacks STANDARDS/HISTORY"; done
.PHONY: build-checks
build-checks: all $(TEST_CMDS) $(TEST_LIBS)