Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/EionRobb/skype4pidgin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEion Robb <eion@robbmob.com>2008-04-21 05:59:48 +0400
committerEion Robb <eion@robbmob.com>2008-04-21 05:59:48 +0400
commit240ac24e4227a50a053e61d3f00ba6276239bd4d (patch)
tree9f8f64be4506950f83649ed7534bd19085a1742f /Makefile
parent3b9a1311ded67c3c38e91f25c174b177f51a1e54 (diff)
New locales automatically compile
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile11
1 files changed, 7 insertions, 4 deletions
diff --git a/Makefile b/Makefile
index db71521..33e8ce0 100644
--- a/Makefile
+++ b/Makefile
@@ -11,7 +11,11 @@ WIN32_CFLAGS = -I${WIN32_DEV_DIR}/gtk_2_0/include/glib-2.0
DEB_PACKAGE_DIR = /root/skypeplugin
+LOCALES = $(patsubst %.po, %.mo, $(wildcard po/*.po))
+
#Standard stuff here
+.PHONY: all clean
+
all: skype4pidgin.deb skype4pidgin-installer.exe libskype_dbus.so libskype_dbus64.so
clean:
@@ -32,11 +36,10 @@ libskype_dbus64.so:
libskype.dll:
${WIN32_COMPILER} ${LIBPURPLE_CFLAGS} -Wall ${GLIB_CFLAGS} -I. -g -O2 -pipe libskype.c -o libskype.dll -shared -mno-cygwin ${WIN32_CFLAGS}
-po/ja.mo:
- msgfmt -cf -o po/ja.mo po/ja.po
+po/%.mo: po/%.po
+ msgfmt -cf -o $@ $<
-po/de.mo:
- msgfmt -cf -o po/de.mo po/de.po
+locales: ${LOCALES}
skype4pidgin-installer.exe: libskype.dll
date=`date +%d-%b-%Y` && sed "s/PRODUCT_VERSION \"[-a-z0-9A-Z]*\"/PRODUCT_VERSION \"$$date\"/" -i skype4pidgin.nsi