]> granicus.if.org Git - procps-ng/commitdiff
build-sys: Don't require po4a for installation
authorCraig Small <csmall@dropbear.xyz>
Mon, 8 Feb 2021 10:23:41 +0000 (21:23 +1100)
committerCraig Small <csmall@dropbear.xyz>
Mon, 8 Feb 2021 10:23:41 +0000 (21:23 +1100)
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 <csmall@dropbear.xyz>
man-po/Makefile.am

index 97f111abe162885c68b72e55176cf1d69296f871..74c10372df764dfdad489441e8844a52288fbbf6 100644 (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 \