po/Makefile: Fix dependency for %.mo

Otherwise make will refuse to build updated .po files.

Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
This commit is contained in:
Kevin Wolf 2013-04-02 11:28:24 +02:00 committed by Aurelien Jarno
parent ec3960148f
commit a23da65924

View File

@ -30,7 +30,7 @@ install: $(OBJS)
$(INSTALL) -m644 $$obj $(DESTDIR)$(prefix)/share/locale/$$base/LC_MESSAGES/qemu.mo; \ $(INSTALL) -m644 $$obj $(DESTDIR)$(prefix)/share/locale/$$base/LC_MESSAGES/qemu.mo; \
done done
%.mo: %.mo: %.po
@msgfmt -o $@ $(SRC_PATH)/po/`basename $@ .mo`.po @msgfmt -o $@ $(SRC_PATH)/po/`basename $@ .mo`.po
messages.po: $(SRC_PATH)/ui/gtk.c messages.po: $(SRC_PATH)/ui/gtk.c