From: Craig Small Date: Fri, 5 Feb 2021 23:58:54 +0000 (+1100) Subject: build-sys: Don't require po4a for installation X-Git-Tag: v23.4^0 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=5fab6b7ab385080f1db725d6803136ec1841a15f;p=psmisc build-sys: Don't require po4a for installation The build system tested for the presence of po4a binary at the install step. psmisc ships with translated man pages so doesn't need po4a for install/uninstallation. --- diff --git a/man-po/Makefile.am b/man-po/Makefile.am index aa778c9..1113b00 100644 --- a/man-po/Makefile.am +++ b/man-po/Makefile.am @@ -56,10 +56,8 @@ psmisc.pot: update-po: $(PO4A_V) $(PO4A) $(PO4A_OPTS) --force $(srcdir)/po4a.cfg -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 \ @@ -75,10 +73,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 \