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:
parent
73f1f65761
commit
f9dd869a3e
@ -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 $@
|
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:
|
||||||
|
|
||||||
install-data-local-no:
|
|
||||||
install-data-local-yes:
|
|
||||||
for lang in $(LINGUAS) ; do \
|
for lang in $(LINGUAS) ; do \
|
||||||
files=""; \
|
files=""; \
|
||||||
for trans in $(notdir $(dist_man_MANS)); do \
|
for trans in $(notdir $(dist_man_MANS)); do \
|
||||||
@ -94,10 +91,7 @@ install-data-local-yes:
|
|||||||
dist_man_MANS="$$files"; \
|
dist_man_MANS="$$files"; \
|
||||||
done
|
done
|
||||||
|
|
||||||
uninstall-local: uninstall-local-@USE_PO4A@
|
uninstall-local:
|
||||||
|
|
||||||
uninstall-local-no:
|
|
||||||
uninstall-local-yes:
|
|
||||||
for lang in $(LINGUAS); do \
|
for lang in $(LINGUAS); do \
|
||||||
files=""; \
|
files=""; \
|
||||||
for trans in $(notdir $(dist_man_MANS)); do \
|
for trans in $(notdir $(dist_man_MANS)); do \
|
||||||
|
Loading…
x
Reference in New Issue
Block a user