blob: e3627ae9c1a20bbf147e0c017a9e48cbe5f51fa9 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
|
# Warning: This is an automatically generated file, do not edit!
srcdir=.
top_srcdir=../
include $(top_srcdir)/Makefile.include
include $(top_srcdir)/config.make
MDTOOL = $(LOCAL_PKGCONFIG) mono `$(LOCAL_PKGCONFIG) pkg-config --variable=libdir monodevelop`/bin/mdrun.exe
BUILD_DIR = ../build/locale
INSTALL_DIR = $(DESTDIR)$(prefix)/lib/monodevelop/AddIns/JavaBinding/locale
FILES = \
ca.po\
cs.po\
da.po\
de.po\
es.po\
fr.po\
gl.po\
it.po\
ja.po\
pl.po\
pt.po\
pt_BR.po\
ru.po\
sl_SI.po\
sv.po\
tr.po\
zh_CN.po\
zh_TW.po
GMO_FILES = $(patsubst %.po,$(BUILD_DIR)/%/LC_MESSAGES/$(PACKAGE).mo,$(FILES))
MO_FILES = $(foreach po,$(FILES), $(INSTALL_DIR)/$(basename $(po))/LC_MESSAGES/$(PACKAGE).mo)
all: $(GMO_FILES)
update-po:
$(MDTOOL) gettext-update
$(GMO_FILES): $(BUILD_DIR)/%/LC_MESSAGES/$(PACKAGE).mo: %.po
mkdir -p $(dir $@)
msgfmt '$<' -o '$@'
$(MO_FILES): $(INSTALL_DIR)/%/LC_MESSAGES/$(PACKAGE).mo : $(BUILD_DIR)/%/LC_MESSAGES/$(PACKAGE).mo
mkdir -p $(dir $@)
cp '$<' '$@'
install-local: $(MO_FILES)
CLEANFILES = $(GMO_FILES)
EXTRA_DIST = Makefile $(FILES)
install: install-local
uninstall: uninstall-local
clean: clean-local
include $(top_srcdir)/rules.make
|