Get the message catalogs installed properly on make install
[oweals/cde.git] / cde / programs / localized / templates / msg.am
1 # message files for non-C locales - ie: local .msg files.  So much
2 # nicer :)
3
4 BUILT_SOURCES = $(shell ls *.msg |grep -v libAB |sed -e 's/.msg/.cat/g')
5 CLEANFILES = $(BUILT_SOURCES)
6
7 msgcatdir = $(CDE_INSTALLATION_TOP)/lib/nls/msg/$(LANG)
8 dist_msgcat_DATA = $(BUILT_SOURCES)
9
10 SUFFIXES = .msg .cat
11
12 .msg.cat:
13         $(RM) $@
14         LANG=$(LANG) $(GENCAT) -o $@ $^ || $(RM) $@