From 46e14c762a81e8eb3fe197a6c87c10a6521a9cc1 Mon Sep 17 00:00:00 2001 From: Brion Vibber Date: Tue, 1 Dec 2009 20:46:52 +0000 Subject: Fix makefile wildcards for locale compilation (now works on Ubuntu 8.04) --- locale/Makefile | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'locale/Makefile') 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 $@ $< -- cgit v1.2.3-54-g00ecf