From 79949b18efeeb6f52e10a03ba3e14e4c8f69e70e Mon Sep 17 00:00:00 2001 From: Craig Small Date: Mon, 21 Mar 2022 21:33:11 +1100 Subject: [PATCH] build-sys: Repeat man pages into man-po Makefile I'm not sure why this is needed, but if the dist_man_MANS variable is not copied from the top-level Makefile down to the man-po one then make dist from a clean archive will not work. I'm sure someone with better automake magic than me can make this more elegant but for now it works if a little ugly. References: https://www.freelists.org/post/procps/important-newlib-patches,8 --- man-po/Makefile.am | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/man-po/Makefile.am b/man-po/Makefile.am index d0e08922..0a535a41 100644 --- a/man-po/Makefile.am +++ b/man-po/Makefile.am @@ -7,6 +7,17 @@ # make -C man-po man.stamp # To update man page translations +# Not sure why this needs to be repeated from the top-level Makefile but it does +dist_man_MANS = \ + ../free.1 \ + ../pgrep.1 \ + ../pkill.1 \ + ../pmap.1 \ + ../uptime.1 \ + ../vmstat.8 \ + ../doc/procps.3 \ + ../doc/procps_pids.3 \ + ../doc/procps_misc.3 translated_MANS = $(wildcard translated/*/*.[1-9]) translated_MAN_sections=$(subst .,,$(sort $(suffix $(translated_MANS))))