From f9dd869a3e3c0d4560e56c3f51fbadddbdc97491 Mon Sep 17 00:00:00 2001 From: Craig Small Date: Mon, 8 Feb 2021 21:23:41 +1100 Subject: [PATCH] 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: https://gitlab.com/psmisc/psmisc/-/commit/5fab6b7ab385080f1db725d6803136ec1841a15f Signed-off-by: Craig Small --- man-po/Makefile.am | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) diff --git a/man-po/Makefile.am b/man-po/Makefile.am index 97f111ab..74c10372 100644 --- a/man-po/Makefile.am +++ b/man-po/Makefile.am @@ -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 \ -- 2.40.0