Mercurial > pidgin.yaz
view libpurple/win32/rules.mak @ 30396:62f0988c666c
Final piece of getting the installer translations integrated with the regular
po files. This is a variation of the instructions at:
http://nsis.sourceforge.net/Creating_language_files_and_integrating_with_MUI
Using a Perl tool that the gcompris folks wrote.
The NSIS LangStrings needed to have the underscores removed because .desktop
files variable names may not contain underscores.
Currently only translations with >=50% coverage will be present in the installer
author | Daniel Atallah <daniel.atallah@gmail.com> |
---|---|
date | Wed, 19 May 2010 03:26:05 +0000 |
parents | 1d6b962dea92 |
children |
line wrap: on
line source
# Rules on how to make object files from various sources %.o: %.c $(CC) $(CFLAGS) $(DEFINES) $(INCLUDE_PATHS) -o $@ -c $< %.c: %.xs $(PERL) -MExtUtils::ParseXS -e 'ExtUtils::ParseXS::process_file(filename => "$<", output => "$@", typemap => "$(PURPLE_PERL_TOP)/common/typemap");' %.o: %.rc $(WINDRES) -I$(PURPLE_TOP) -i $< -o $@ %.desktop: %.desktop.in $(wildcard $(PIDGIN_TREE_TOP)/po/*.po) LC_ALL=C $(PERL) $(INTLTOOL_MERGE) -d -u -c $(PIDGIN_TREE_TOP)/po/.intltool-merge-cache $(PIDGIN_TREE_TOP)/po $< $@