mirror of
https://gitlab.gnome.org/GNOME/gimp
synced 2024-10-20 19:43:01 +00:00
933b866166
* app/appenv.h: Define ROUND(), RINT(), SQR(), G_PI and G_PI_4. The latter two will presumably eventually be in GLib. RINT() calls rint() if we have it, otherwise adds 0.5 and calls floor(). * app/*.c: Remove the multiple identical definitions of M_PI. Use G_PI instead of M_PI. Remove ROUND() and rint() definitions. Use RINT() instead of rint().
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 $@ $<
|