]> git.ipfire.org Git - thirdparty/man-pages.git/commitdiff
*.mk: Allow pages with the suffix .man and no number
authorAlejandro Colomar <alx@kernel.org>
Mon, 22 Jan 2024 16:26:35 +0000 (17:26 +0100)
committerAlejandro Colomar <alx@kernel.org>
Mon, 22 Jan 2024 16:26:38 +0000 (17:26 +0100)
This adds support for neomutt.man from the neomutt project.

Signed-off-by: Alejandro Colomar <alx@kernel.org>
share/mk/src.mk

index f68a85b2ebaa54fead5447b2aa944bfe87d223d7..a77bb2d2b90bf25a40dda97c19562b0f1244c90e 100644 (file)
@@ -12,7 +12,7 @@ include $(MAKEFILEDIR)/cmd.mk
 
 
 MANDIR := $(srcdir)
-MANEXT := \.[[:digit:]]\([[:alpha:]][[:alnum:]]*\)\?\>\(\.man\|\.in\)*$
+MANEXT := \(\.[[:digit:]]\([[:alpha:]][[:alnum:]]*\)\?\>\|\.man\)\+\(\.man\|\.in\)*$
 
 
 MANPAGES := $(shell $(FIND) $(MANDIR)/* -type f \