Commit dd9122cd authored by Tor Lillqvist's avatar Tor Lillqvist Committed by Tor Lillqvist
Browse files

Use the generic (UTF-8 based) makefile.cygwin from gtk+.

1999-10-31  Tor Lillqvist  <tml@iki.fi>

* makefile.cygwin: Use the generic (UTF-8 based) makefile.cygwin
from gtk+.

* makefile.msc: Removed.
parent 595360fd
1999-10-31 Tor Lillqvist <tml@iki.fi>
* makefile.cygwin: Use the generic (UTF-8 based) makefile.cygwin
from gtk+.
* makefile.msc: Removed.
1999-10-22 Stanislav Brabec <utx@penguin.cz>
* cs.po: Updated translation.
......@@ -10,7 +17,7 @@
* makefile.cygwin: New file.
* makefile.msc: Add Shift-JIS Japanese version.b
* makefile.msc: Add Shift-JIS Japanese version.
1999-10-70 Tomas Ogren <stric@ing.umu.se>
......
## Makefile for compiling the GIMP message
## Use: make -f makefile.msc install
## You will need: - msgfmt from GNU gettext,
## - jconv (http://www.oreilly.com/~lunde/j_tools.html)
## - sjis_esc, included here eventually
# Locale directory.
PACKAGE = gimp
LOCALEDIR = /gimp/locale
LANGUAGES= cs da de fi fr hu it ja ja.sjis ko nl no pl ru sk sv
################################################################
# Nothing much configurable below
all : $(addsuffix .gmo,$(LANGUAGES))
install : all
mkdir -p $(addsuffix /LC_MESSAGES,$(addprefix $(LOCALEDIR)/,$(LANGUAGES)))
for l in $(LANGUAGES); do cp $$l.gmo $(LOCALEDIR)/$$l/LC_MESSAGES/gimp.mo; done
.SUFFIXES: .po .gmo
.po.gmo:
msgfmt -o $@ $<
# Special case: Japanese, we must convert from EUC-JP to Shift-JIS
# As Shift-JIS can have " and \ chars as second byte, we need to
# escape those with the sjis_esc filter
ja.sjis.po: ja.po
jconv -ie -os <ja.po | sjis_esc >ja.sjis.po
clean:
rm *.gmo ja.sjis.po
include ../../gtk+/po/makefile.cygwin
## Makefile for building the GIMP message catalogs with Microsoft nmake
## Use: nmake -f makefile.msc install
## You will need: - msgfmt from GNU gettext,
## - jconv (http://www.oreilly.com/~lunde/j_tools.html)
## - sjis_esc, included here eventually
# Locale directory.
LOCALEDIR = c:\gimp\locale
LANGUAGES= cs da de fi fr hu it ja ja.sjis ko nl no pl ru sk sv
################################################################
# Nothing much configurable below
all :
for %l in ($(LANGUAGES)) do nmake -nologo -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 $@ $<
# Special case: Japanese, we must convert from EUC-JP to Shift-JIS
# As Shift-JIS can have " and \ chars as second byte, we need to
# escape those with the sjis_esc filter
ja.sjis.po: ja.po
jconv -ie -os <ja.po | sjis_esc >ja.sjis.po
clean:
del *.gmo
del ja.sjis.po
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment