# Do not edit -- this file automatically generated by build_v3_dist.
# Makefile to build locale files needed by libstdc++-v3 testsuite.

root := /nethome/heffler/tmp/rpm-build/BUILD/lsb-test-libstdcpp-3.4.3/testsuite/..

podir := $(root)/po

POS := $(wildcard $(podir)/*.po)
LANGS := $(basename $(notdir $(POS)))
MOS := $(addsuffix /LC_MESSAGES/libstdc++.mo,$(LANGS))
DIRS := $(addsuffix /LC_MESSAGES,$(LANGS))

# Allow the user to set MSGFMT in their environment
MSGFMT ?= msgfmt

.PHONY: locales

locales: $(POS)
	mkdir -p $(DIRS)
	for lang in $(LANGS); \
	    do $(MSGFMT) $(podir)/$$lang.po -o $$lang/LC_MESSAGES/libstdc++.mo; \
	done

