Mercurial > pidgin.yaz
view po/Makefile.mingw @ 7387:86933f4e7fb8
[gaim-migrate @ 7982]
"I prepared a small patch for Gaim's manual page. The patch makes
Gaim's installation path variable (depending on "./configure
--prefix=/my/path").
Without this patch, "man gaim" always gives you the default path:
FILES
/usr/local/bin/gaim: gaim's default location.
/usr/local/lib/gaim/: gaim's plugins directory.
~/.gaim/prefs.xml: gaim's configuration file.
...
With my patch, the manual page gives my real patch, for instance:
FILES
/opt/gnome/bin/gaim: gaim's location.
/opt/gnome/lib/gaim/: gaim's plugins directory.
~/.gaim/prefs.xml: gaim's configuration file.'
--Bjoern Voigt
committer: Tailor Script <tailor@pidgin.im>
author | Luke Schierer <lschiere@pidgin.im> |
---|---|
date | Thu, 30 Oct 2003 23:03:12 +0000 |
parents | 580070695352 |
children | 6dcfec6f2f7c |
line wrap: on
line source
# Makefile.mingw # # Description: Makefile to generate mo files # PACKAGE = gaim ## ## PATHS ## srcdir = . GAIM_TOP = .. GAIM_INSTALL_DIR = ../win32-install-dir LOCALEDIR = $(GAIM_INSTALL_DIR)/locale GTK_BIN = ../../win32-dev/gtk_2_0/bin ## ## TOOLS ## GMSGFMT = $(GTK_BIN)/msgfmt .SUFFIXES: .SUFFIXES: .po .gmo ## ## SOURCES, OBJECTS ## CATALOGS = $(patsubst %.po,%.gmo,$(wildcard *.po)) ## ## RULES ## .po.gmo: rm -f $@ && $(GMSGFMT) --statistics -o $@ $< ## ## TARGETS ## all: $(CATALOGS) install: all mkdir -p $(LOCALEDIR) @catalogs='$(CATALOGS)'; \ for cat in $$catalogs; do \ cat=`basename $$cat`; \ lang=`echo $$cat | sed 's/\.gmo$$//'`; \ dir=$(LOCALEDIR)/$$lang/LC_MESSAGES; \ mkdir -p $$dir; \ if test -r $$cat; then \ cp $$cat $$dir/$(PACKAGE).mo; \ echo "installing $$cat as $$dir/$(PACKAGE).mo"; \ else \ cp $(srcdir)/$$cat $$dir/$(PACKAGE).mo; \ echo "installing $(srcdir)/$$cat as" \ "$$dir/$(PACKAGE).mo"; \ fi; \ done clean: rm -f *.gmo