Makefile: remove warning about old version of gettext

gettext introduced the Shell interpreter in 2003; I think we can assume
everyone has it.
This commit is contained in:
David Adam 2014-11-17 16:27:52 +08:00
parent 9aaf93f364
commit 33f9e071a4

View file

@ -486,11 +486,7 @@ doc.h: $(HDR_FILES)
messages.pot: *.cpp *.h share/completions/*.fish share/functions/*.fish
if test "$(HAVE_GETTEXT)" = 1; then \
xgettext -k_ -kN_ *.cpp *.h -o messages.pot; \
if xgettext -j -k_ -kN_ -k--description -LShell --from-code=UTF-8 share/completions/*.fish share/functions/*.fish -o messages.pot; then true; else \
echo "Your xgettext version is too old to build the messages.pot file"; \
rm messages.pot; \
false; \
fi; \
xgettext -j -k_ -kN_ -k--description -LShell --from-code=UTF-8 share/completions/*.fish share/functions/*.fish -o messages.pot; \
fi
builtin.o: $(BUILTIN_FILES)