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 220510f372
commit de13c4838e

View File

@ -2,10 +2,12 @@
all : translations all : translations
translations : */LC_MESSAGES/statusnet.mo trans = $(patsubst %.po,%.mo,$(wildcard */LC_MESSAGES/statusnet.po))
translations : $(trans)
clean : clean :
rm -f */LC_MESSAGES/statusnet.mo rm -f $(trans)
%.mo : %.po %.mo : %.po
msgfmt -o $@ $< msgfmt -o $@ $<