Subversion Repositories LCARS

Rev

Rev 56 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 56 Rev 189
Line 1... Line 1...
1
# Makefile for various po files.
1
# Makefile for various po files.
2
2
3
srcdir = .
3
srcdir = .
4
libdir = ..
4
targetdir= ./LocaleData
5
5
6
#CATALOGS = $(addsuffix .po, LINGUAS)
6
#CATALOGS = $(addsuffix .po, LINGUAS)
7
CATALOGS = $(LINGUAS)
7
CATALOGS = $(LINGUAS)
8
MO_FILES = $(addsuffix .mo, $(LINGUAS))
8
MO_FILES = $(addsuffix .mo, $(LINGUAS))
9
9
Line 58... Line 58...
58
		--msgid-bugs-address="$(MSGID_BUGS_ADDRESS)" \
58
		--msgid-bugs-address="$(MSGID_BUGS_ADDRESS)" \
59
	rm -f $@ && mv $(TD).pox $@
59
	rm -f $@ && mv $(TD).pox $@
60
60
61
install: $(MO_FILES)
61
install: $(MO_FILES)
62
	cd $(srcdir); \
62
	cd $(srcdir); \
63
	targetdir='$(libdir)/LocaleData'; \
63
	targetdir='$(targetdir)'; \
64
	languages='$(LINGUAS)'; \
64
	languages='$(LINGUAS)'; \
65
	for lang in $$languages; do \
65
	for lang in $$languages; do \
66
		mkdir -p "$$targetdir/$$lang/LC_MESSAGES" || exit 1; \
66
		mkdir -p "$$targetdir/$$lang/LC_MESSAGES" || exit 1; \
67
		dest="$$targetdir/$$lang/LC_MESSAGES/$(TD).mo"; \
67
		dest="$$targetdir/$$lang/LC_MESSAGES/$(TD).mo"; \
68
		cat="$$lang.mo"; \
68
		cat="$$lang.mo"; \