summaryrefslogtreecommitdiff
path: root/locale/Makefile
diff options
context:
space:
mode:
authorBrion Vibber <brion@pobox.com>2009-12-01 20:46:52 +0000
committerBrion Vibber <brion@pobox.com>2009-12-01 20:48:24 +0000
commit46e14c762a81e8eb3fe197a6c87c10a6521a9cc1 (patch)
tree3a081c87fad41d7f55d14e728a2ca2ae23a70f77 /locale/Makefile
parent75914394512c8752017b8516c0d445a8ec33d1f3 (diff)
Fix makefile wildcards for locale compilation (now works on Ubuntu 8.04)
Diffstat (limited to 'locale/Makefile')
-rw-r--r--locale/Makefile6
1 files changed, 4 insertions, 2 deletions
diff --git a/locale/Makefile b/locale/Makefile
index 4f17f683f..00700ada1 100644
--- a/locale/Makefile
+++ b/locale/Makefile
@@ -2,10 +2,12 @@
all : translations
-translations : */LC_MESSAGES/statusnet.mo
+trans = $(patsubst %.po,%.mo,$(wildcard */LC_MESSAGES/statusnet.po))
+
+translations : $(trans)
clean :
- rm -f */LC_MESSAGES/statusnet.mo
+ rm -f $(trans)
%.mo : %.po
msgfmt -o $@ $<