]> git.mxchange.org Git - quix0rs-gnu-social.git/blobdiff - locale/Makefile
Type-hint is array here.
[quix0rs-gnu-social.git] / 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 $@ $<