diff options
Diffstat (limited to 'build-aux')
-rw-r--r-- | build-aux/Makefile.each.head/20-libretools.mk | 2 | ||||
-rw-r--r-- | build-aux/Makefile.each.tail/20-libretools.mk | 17 |
2 files changed, 10 insertions, 9 deletions
diff --git a/build-aux/Makefile.each.head/20-libretools.mk b/build-aux/Makefile.each.head/20-libretools.mk index 22f59ba..7a5e754 100644 --- a/build-aux/Makefile.each.head/20-libretools.mk +++ b/build-aux/Makefile.each.head/20-libretools.mk @@ -30,7 +30,7 @@ libretools.out.libs = $(libretools.src.sh) libretools.out.docs = $(libretools.src.md) libretools.out.confs = $(libretools.src.conf) -libretools.out = $(libretools.out.mans) +libretools.out = $(if $(enable_manpages),$(libretools.out.mans)) libretools.out += $(libretools.out.bins) libretools.out += $(libretools.out.libexecs) libretools.out += $(libretools.out.libs) diff --git a/build-aux/Makefile.each.tail/20-libretools.mk b/build-aux/Makefile.each.tail/20-libretools.mk index 3e54614..5000114 100644 --- a/build-aux/Makefile.each.tail/20-libretools.mk +++ b/build-aux/Makefile.each.tail/20-libretools.mk @@ -30,14 +30,15 @@ files.sys.$(libretools.pkg) += \ $(addprefix $(pkglibdir)/,$(libretools.out.libs)) \ $(addprefix $(pkglibexecdir)/,$(libretools.out.libexecs)) \ $(addprefix $(docdir)/,$(libretools.out.docs)) \ - $(addprefix $(mandir)/man1/,$(filter %.1,$(libretools.out.mans))) \ - $(addprefix $(mandir)/man2/,$(filter %.2,$(libretools.out.mans))) \ - $(addprefix $(mandir)/man3/,$(filter %.3,$(libretools.out.mans))) \ - $(addprefix $(mandir)/man4/,$(filter %.4,$(libretools.out.mans))) \ - $(addprefix $(mandir)/man5/,$(filter %.5,$(libretools.out.mans))) \ - $(addprefix $(mandir)/man6/,$(filter %.6,$(libretools.out.mans))) \ - $(addprefix $(mandir)/man7/,$(filter %.7,$(libretools.out.mans))) \ - $(addprefix $(mandir)/man8/,$(filter %.8,$(libretools.out.mans))) + $(if $(enable_manpages), \ + $(addprefix $(mandir)/man1/,$(filter %.1,$(libretools.out.mans))) \ + $(addprefix $(mandir)/man2/,$(filter %.2,$(libretools.out.mans))) \ + $(addprefix $(mandir)/man3/,$(filter %.3,$(libretools.out.mans))) \ + $(addprefix $(mandir)/man4/,$(filter %.4,$(libretools.out.mans))) \ + $(addprefix $(mandir)/man5/,$(filter %.5,$(libretools.out.mans))) \ + $(addprefix $(mandir)/man6/,$(filter %.6,$(libretools.out.mans))) \ + $(addprefix $(mandir)/man7/,$(filter %.7,$(libretools.out.mans))) \ + $(addprefix $(mandir)/man8/,$(filter %.8,$(libretools.out.mans)))) files.out.int += *.pot *.ugly *.rej *.orig files.out.all += $(foreach pkg,$(filter-out all,$(files.groups)),$(files.out.$(pkg))) |