]> granicus.if.org Git - procps-ng/commitdiff
build-sys: Repeat man pages into man-po Makefile
authorCraig Small <csmall@dropbear.xyz>
Mon, 21 Mar 2022 10:33:11 +0000 (21:33 +1100)
committerCraig Small <csmall@dropbear.xyz>
Mon, 21 Mar 2022 10:33:11 +0000 (21:33 +1100)
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

index d0e089225ffad52117127178ba478b4c07805a48..0a535a41a195a998ca18a3ab9cbdd6323d353ae8 100644 (file)
@@ -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))))