Welcome to mirror list, hosted at ThFree Co, Russian Federation.

Makefile.template « templates « MonoDevelop.Gettext « addins « src « main - github.com/mono/monodevelop.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 021a638e6b857297bbc81af7a58bd76edd60843c (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

# Warning: This is an automatically generated file, do not edit!

srcdir=.
top_srcdir=%%TOP_SRCDIR%%

include $(top_srcdir)/Makefile.include
include $(top_srcdir)/config.make

BUILD_DIR = %%BUILD_DIR%%
INSTALL_DIR = %%INSTALL_DIR%%

FILES = %%FILES%%

GMO_FILES = $(patsubst %.po,$(BUILD_DIR)/%.gmo,$(FILES))
MO_FILES = $(foreach po,$(FILES), $(INSTALL_DIR)/$(basename $(po))/LC_MESSAGES/$(PACKAGE).mo)

%%ALL_TARGET%%: $(GMO_FILES)

$(GMO_FILES): $(BUILD_DIR)/%.gmo: %.po
	mkdir -p $(BUILD_DIR)
	msgfmt '$<' -o '$@'
	
$(MO_FILES): $(INSTALL_DIR)/%/LC_MESSAGES/$(PACKAGE).mo : $(BUILD_DIR)/%.gmo
	mkdir -p $(dir $@)
	cp '$<' '$@'

install-local: $(MO_FILES)

CLEANFILES = $(GMO_FILES)