Skip to content
Snippets Groups Projects
Commit 55da35428353 authored by Lasse Collin's avatar Lasse Collin
Browse files

Build: Add support for --no-po4a option to autogen.sh.

Normally, if po4a isn't available, autogen.sh will return
with non-zero exit status. The option --no-po4a can be useful
when one knows that po4a isn't available but wants autogen.sh
to still return with zero exit status.
parent 91736187a70a
No related branches found
No related tags found
No related merge requests found
...@@ -21,4 +21,13 @@ ...@@ -21,4 +21,13 @@
# Generate the translated man pages if the "po4a" tool is available. # Generate the translated man pages if the "po4a" tool is available.
# This is *NOT* done by "autoreconf -fi" or when "make" is run. # This is *NOT* done by "autoreconf -fi" or when "make" is run.
cd po4a && sh update-po #
# Pass --no-po4a to this script to skip this step. It can be useful when
# you know that po4a isn't available and don't want autogen.sh to exit
# with non-zero exit status.
if test "x$1" != "x--no-po4a"; then
cd po4a
sh update-po
fi
exit 0
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment