* intl/Makefile: Run gettext-test only if msgfmt is available.

This commit is contained in:
Andreas Jaeger 2000-05-24 09:31:17 +00:00
parent 5e76a3468a
commit c7fd70badb

View File

@ -46,12 +46,14 @@ include ../Rules
ifeq (no,$(cross-compiling)) ifeq (no,$(cross-compiling))
ifeq (yes,$(build-shared)) ifeq (yes,$(build-shared))
ifneq ($(strip $(MSGFMT)),:)
.PHONY: do-gettext-test .PHONY: do-gettext-test
tests: do-gettext-test tests: do-gettext-test
do-gettext-test: tst-gettext.sh $(objpfx)tst-gettext do-gettext-test: tst-gettext.sh $(objpfx)tst-gettext
$(SHELL) -e $< $(common-objpfx) $(objpfx) $(SHELL) -e $< $(common-objpfx) $(objpfx)
endif endif
endif endif
endif
$(objpfx)msgs.h: po2test.sed ../po/de.po $(objpfx)msgs.h: po2test.sed ../po/de.po
$(make-target-directory) $(make-target-directory)