From: Brion Vibber Date: Tue, 1 Dec 2009 20:46:52 +0000 (+0000) Subject: Fix makefile wildcards for locale compilation (now works on Ubuntu 8.04) X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=de13c4838e8d7c00e2f9b676b5d005317d467538;p=quix0rs-gnu-social.git Fix makefile wildcards for locale compilation (now works on Ubuntu 8.04) --- diff --git a/locale/Makefile b/locale/Makefile index 4f17f683f9..00700ada10 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 $@ $<