[gtk+] po: Add a rule to generate files



commit bf5e57d2a787b44964bd00cda22bf47d4148f4b7
Author: Matthias Clasen <mclasen redhat com>
Date:   Fri Apr 19 20:06:52 2013 -0400

    po: Add a rule to generate files
    
    This should help translators generate an updates pot file.
    Just doing make -C po gtk30.pot should work now, no need to
    build the entire module.

 po/Makefile.in.in | 3 +++
 1 file changed, 3 insertions(+)
---
diff --git a/po/Makefile.in.in b/po/Makefile.in.in
index 1497212..577c0ab 100644
--- a/po/Makefile.in.in
+++ b/po/Makefile.in.in
@@ -68,6 +68,9 @@ INSTOBJEXT = @INSTOBJEXT@
 .SUFFIXES:
 .SUFFIXES: .c .o .po .pox .gmo .mo .msg .cat
 
+$(filter %.ui.h, $(POTFILES)):
+       $(MAKE) -C ../gtk gtkresources.c
+
 .c.o:
        $(COMPILE) $<
 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]