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
This commit is contained in:
parent
8a5f3f7b26
commit
79949b18ef
@ -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))))
|
||||
|
Loading…
Reference in New Issue
Block a user