gst-glib2.m4: export GLIB_EXTRA_CFLAGS to Makefile
[platform/upstream/gst-common.git] / po.mak
diff --git a/po.mak b/po.mak
index 14604d0..e019fac 100644 (file)
--- a/po.mak
+++ b/po.mak
@@ -1,18 +1,4 @@
-# rule to download .po
-po / %.po - download:
-@LI = $ (@: po / %.po - download = %) && cd po && wget - q - O $$LI.po.tmp http:
-                                                                                //www.iro.umontreal.ca/translation/maint/$(PACKAGE)/$$LI && if ! diff $$LI.po $$LI.po.tmp > /dev/null 2>&1; then echo "$$LI.po changed, updated"; mv $$LI.po.tmp $$LI.po; else rm $$LI.po.tmp; fi
+# rule to download the latest .po files
+download-po: $(top_srcdir)/common/download-translations
+       $(top_srcdir)/common/download-translations $(PACKAGE)
 
-# a rule to redownload po files
-download - po:
-for LI
-  in ` cat po / LINGUAS `;
-do
-  echo Checking $$LI.po;
-     make
-         po /
-         $$LI.
-         po -
-         download;
-
-done