mirror of https://github.com/GNOME/gimp.git
po: only warn on pot generation.
Commit c4bb708
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.
This commit is contained in:
parent
badd7ce257
commit
20d45e5919
|
@ -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)"; \
|
||||
|
|
Loading…
Reference in New Issue