make: automatically collect man pages via wildcard

This commit is contained in:
Levente Polyak 2022-05-19 01:21:04 +02:00
parent d94badcd0b
commit 5e680513e6
No known key found for this signature in database
GPG Key ID: FC1B547C8D8172C8
1 changed files with 1 additions and 17 deletions

View File

@ -9,6 +9,7 @@ BINPROGS = $(addprefix $(BUILDDIR)/,$(patsubst src/%,bin/%,$(patsubst %.in,%,$(w
MAKEPKG_CONFIGS=$(wildcard config/makepkg/*)
PACMAN_CONFIGS=$(wildcard config/pacman/*)
SETARCH_ALIASES = $(wildcard config/setarch-aliases.d/*)
MANS = $(addprefix $(BUILDDIR)/,$(patsubst %.asciidoc,%,$(filter-out doc/footer.asciidoc,$(wildcard doc/*.asciidoc))))
COMMITPKG_LINKS = \
extrapkg \
@ -45,23 +46,6 @@ BASHCOMPLETION_LINKS = \
archco \
communityco
MANS = \
archbuild.1 \
arch-nspawn.1 \
export-pkgbuild-keys.1 \
makechrootpkg.1 \
lddd.1 \
checkpkg.1 \
diffpkg.1 \
offload-build.1 \
sogrep.1 \
makerepropkg.1 \
mkarchroot.1 \
find-libdeps.1 \
find-libprovides.1 \
devtools.7
MANS := $(addprefix $(BUILDDIR)/doc/,$(MANS))
all: binprogs completion man
binprogs: $(BINPROGS)