]> granicus.if.org Git - psmisc/commitdiff
build-sys: Don't require po4a for installation v23.4
authorCraig Small <csmall@dropbear.xyz>
Fri, 5 Feb 2021 23:58:54 +0000 (10:58 +1100)
committerCraig Small <csmall@dropbear.xyz>
Fri, 5 Feb 2021 23:58:54 +0000 (10:58 +1100)
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.

man-po/Makefile.am

index aa778c9764cedb8f072f133870c4185d9e0bf28c..1113b00a4adaf582ec4c1a82035cb4c24f5b199e 100644 (file)
@@ -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 \