mirror of https://github.com/GNOME/gimp.git
28 lines
735 B
Plaintext
28 lines
735 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 the fr file seems to be OK
|
||
|
# LANGUAGES= de fi fr hu it ja ko nl pl ru sv
|
||
|
LANGUAGES= fr
|
||
|
|
||
|
################################################################
|
||
|
|
||
|
# 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 $@ $<
|