Patchwork [1/2] po/Makefile: Fix dependency for %.mo

login
register
mail settings
Submitter Kevin Wolf
Date April 2, 2013, 9:28 a.m.
Message ID <1364894905-12955-2-git-send-email-kwolf@redhat.com>
Download mbox | patch
Permalink /patch/232925/
State New
Headers show

Comments

Kevin Wolf - April 2, 2013, 9:28 a.m.
Otherwise make will refuse to build updated .po files.

Signed-off-by: Kevin Wolf <kwolf@redhat.com>
---
 po/Makefile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Patch

diff --git a/po/Makefile b/po/Makefile
index 8297ab5..60ccd7d 100644
--- a/po/Makefile
+++ b/po/Makefile
@@ -30,7 +30,7 @@  install: $(OBJS)
 	    $(INSTALL) -m644 $$obj $(DESTDIR)$(prefix)/share/locale/$$base/LC_MESSAGES/qemu.mo; \
 	done
 
-%.mo:
+%.mo: %.po
 	@msgfmt -o $@ $(SRC_PATH)/po/`basename $@ .mo`.po
 
 messages.po: $(SRC_PATH)/ui/gtk.c