Fix makefile wildcards for locale compilation (now works on Ubuntu 8.04)

This commit is contained in:
Brion Vibber 2009-12-01 20:46:52 +00:00
parent 7591439451
commit 46e14c762a

View 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 $@ $<