1
1
mirror of https://gitlab.gnome.org/GNOME/gimp.git synced 2025-10-06 09:32:41 +02:00

po: explain why make update-po will fail on a VPATH build.

Commit c96006919 worked around a still-existing bug (well at least the
bug report is still open) of intltool with automake 1.15 when the build
and source directories are different (VPATH build) by replacing
`intltool-update` by `true`. But because of this `make update-po` fails
on such a build and the make output is totally unclear at why. Add an
error message when this happens.
This commit is contained in:
Jehan
2016-10-02 01:53:29 +02:00
parent 9e9955480b
commit c4bb7089d1

View File

@@ -97,6 +97,11 @@ all-yes: $(CATALOGS)
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; \
fi
$(GENPOT)
install: install-data