diff options
author | Levente Polyak <anthraxx@archlinux.org> | 2022-05-19 01:21:04 +0200 |
---|---|---|
committer | Levente Polyak <anthraxx@archlinux.org> | 2022-06-22 01:05:02 +0200 |
commit | 5e680513e68a358b0eac1a5dac844fc793a6a7a9 (patch) | |
tree | 45d553db987b975e302e8d99128b619f3ab073bd | |
parent | d94badcd0be4f1f0bdc85a9e17f622373fcc42b2 (diff) | |
download | devtools-5e680513e68a358b0eac1a5dac844fc793a6a7a9.tar.xz |
make: automatically collect man pages via wildcard
-rw-r--r-- | Makefile | 18 |
1 files changed, 1 insertions, 17 deletions
@@ -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) |