1 # Makefile for the Vim message translations for MSVC
2 # (based on make_ming.mak)
4 # Mike Williams <mrw@eandem.co.uk>
6 # Please read README_mvc.txt before using this file.
59 # Correct the following line for the installation directory of gettext
60 GETTEXT_PATH
= H
:\gettext.win32.msvcrt
\bin
62 MSGFMT
= $(GETTEXT_PATH
)\msgfmt
63 XGETTEXT
= $(GETTEXT_PATH
)\xgettext
64 MSGMERGE
= $(GETTEXT_PATH
)\msgmerge
72 LSFLAGS
= /b
/on
/l
/s
74 INSTALLDIR
= $(VIMRUNTIME
)\lang\
$(LANGUAGE
)\LC_MESSAGES
77 .SUFFIXES
: .po .mo .pot
85 $(LS
) $(LSFLAGS
) ..\
*.c ..\if_perl.xs ..\globals.h
> .
\files
88 $(XGETTEXT
) --default-domain
=$(LANGUAGE
) --add-comments
--keyword
=_
--keyword
=N_
--files-from
=.
\files
91 $(XGETTEXT
) --default-domain
=$(PACKAGE
) --add-comments
--keyword
=_
--keyword
=N_
--files-from
=.
\files
92 $(MV
) $(PACKAGE
).po
$(PACKAGE
).pot
93 $(CP
) $@.po
$@.po.orig
95 $(MSGMERGE
) $@.po.old
$(PACKAGE
).pot
-o
$@.po
99 if not exist
$(INSTALLDIR
) $(MKD
) $(INSTALLDIR
)
100 $(CP
) $(LANGUAGE
).mo
$(INSTALLDIR
)\
$(PACKAGE
).mo