build-sys: Don't require po4a for installation

The build system tested for the presence of po4a binary at the
install step. procps ships with translated man pages so doesn't
need po4a for install/uninstallation.

Works already in psmisc!

References:
 5fab6b7ab3

Signed-off-by: Craig Small <csmall@dropbear.xyz>
This commit is contained in:
Craig Small 2021-02-08 21:23:41 +11:00
parent 73f1f65761
commit f9dd869a3e

View File

@ -75,10 +75,7 @@ procps-man.pot:
po4a-gettextize -M utf8 --option groff_code=verbatim --option generated --option untranslated="a.RE,\|" --option unknown_macros=untranslated -f man $(patsubst %,-m%,$(subst :, ,$(dist_man_MANS))) -p $@
install-data-local: install-data-local-@USE_PO4A@
install-data-local-no:
install-data-local-yes:
install-data-local:
for lang in $(LINGUAS) ; do \
files=""; \
for trans in $(notdir $(dist_man_MANS)); do \
@ -94,10 +91,7 @@ install-data-local-yes:
dist_man_MANS="$$files"; \
done
uninstall-local: uninstall-local-@USE_PO4A@
uninstall-local-no:
uninstall-local-yes:
uninstall-local:
for lang in $(LINGUAS); do \
files=""; \
for trans in $(notdir $(dist_man_MANS)); do \