Commit 20d45e59 authored by Jehan's avatar Jehan

po: only warn on pot generation.

Commit c4bb7089 was making `make check` fail. I should not return `false`
on the .pot file generation, simply warn. I explicitly fail the `make
update-po` command though when $(INTLTOOL_UPDATE) is the `true` command
because I know the message merge will fail and there won't be any proper
error message explaining why when it does.
parent badd7ce2
......@@ -98,9 +98,8 @@ all-no:
$(GETTEXT_PACKAGE).pot: $(POTFILES)
@if test "x$(INTLTOOL_UPDATE)" = "x/bin/true"; then \
echo "Error: po generation deactivated on VPATH builds."; \
echo " See commit c96006919."; \
false; \
echo "Warning: pot generation deactivated on VPATH builds."; \
echo " See commit c96006919."; \
fi
$(GENPOT)
......@@ -185,6 +184,11 @@ dist distdir: $(DISTFILES)
done
update-po: Makefile
@if test "x$(INTLTOOL_UPDATE)" = "x/bin/true"; then \
echo "Error: po generation deactivated on VPATH builds."; \
echo " See commit c96006919."; \
false; \
fi
$(MAKE) $(GETTEXT_PACKAGE).pot
tmpdir=`pwd`; \
linguas="$(USE_LINGUAS)"; \
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment