pidgin/purple-plugin-pack
Clone
Summary
Browse
Changes
Graph
Add nomobility plugin to stop you from sending messages to mobile users. Right now it forces it for all messages while i'm dev'n. This will be fixed before I push, but I need some more functionality here first ;)
org.guifications.plugins
2008-11-05, grim
fb4513242cac
Add nomobility plugin to stop you from sending messages to mobile users. Right now it forces it for all messages while i'm dev'n. This will be fixed before I push, but I need some more functionality here first ;)
# Makefile.mingw
#
# Description: Makefile to generate mo files
#
PACKAGE
=
plugin_pack
##
## PATHS
##
srcdir
=
.
GAIM_TOP
=
../../..
GAIM_INSTALL_DIR
=
$(
GAIM_TOP
)
/win32-install-dir
LOCALEDIR
=
$(
GAIM_INSTALL_DIR
)
/locale
GTK_BIN
=
$(
GAIM_TOP
)
/../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