Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLevente Polyak <anthraxx@archlinux.org>2022-05-19 01:21:04 +0200
committerLevente Polyak <anthraxx@archlinux.org>2022-06-22 01:05:02 +0200
commit5e680513e68a358b0eac1a5dac844fc793a6a7a9 (patch)
tree45d553db987b975e302e8d99128b619f3ab073bd
parentd94badcd0be4f1f0bdc85a9e17f622373fcc42b2 (diff)
make: automatically collect man pages via wildcard
-rw-r--r--Makefile18
1 files changed, 1 insertions, 17 deletions
diff --git a/Makefile b/Makefile
index 6146c0d..6500da0 100644
--- a/Makefile
+++ b/Makefile
@@ -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)