mirror of https://github.com/GNOME/gimp.git
28 lines
763 B
Plaintext
28 lines
763 B
Plaintext
## Makefile for installing the GIMP message catalogs with Microsoft nmake
|
|
## Use: nmake -f makefile.msc install
|
|
## You will need the msgfmt program from GNU gettext!
|
|
|
|
# Locale directory.
|
|
LOCALEDIR = c:\gimp\locale
|
|
|
|
# Only some languages actually have any translations
|
|
# LANGUAGES= de fi fr hu it ja ko nl pl ru sv
|
|
LANGUAGES= fr ja no sv
|
|
|
|
################################################################
|
|
|
|
# Nothing much configurable below
|
|
|
|
all :
|
|
for %l in ($(LANGUAGES)) do nmake -f makefile.msc %l.gmo
|
|
|
|
install : all
|
|
for %l in ($(LANGUAGES)) do md $(LOCALEDIR)\%l
|
|
for %l in ($(LANGUAGES)) do md $(LOCALEDIR)\%l\LC_MESSAGES
|
|
for %l in ($(LANGUAGES)) do copy %l.gmo $(LOCALEDIR)\%l\LC_MESSAGES\gimp-std-plugins.mo
|
|
|
|
.SUFFIXES: .po .gmo
|
|
|
|
.po.gmo:
|
|
msgfmt -o $@ $<
|