]> git.mxchange.org Git - quix0rs-gnu-social.git/commitdiff
Fix makefile wildcards for locale compilation (now works on Ubuntu 8.04)
authorBrion Vibber <brion@pobox.com>
Tue, 1 Dec 2009 20:46:52 +0000 (20:46 +0000)
committerBrion Vibber <brion@pobox.com>
Tue, 1 Dec 2009 20:48:24 +0000 (20:48 +0000)
locale/Makefile

index 4f17f683f98c367e481671d66edbc6c4aa1fc02d..00700ada104f26fa60c10517d51d3ab597ab042f 100644 (file)
@@ -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 $@ $<