mirror of
https://gitlab.gnome.org/GNOME/gimp
synced 2024-10-21 20:12:30 +00:00
9308c80a02
* po/makefile.msc * po-plug-ins/makefile.msc: New files.
26 lines
673 B
Plaintext
26 lines
673 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
|
|
|
|
LANGUAGES= de fi fr hu it ja ko nl pl ru 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.mo
|
|
|
|
.SUFFIXES: .po .gmo
|
|
|
|
.po.gmo:
|
|
msgfmt -o $@ $<
|