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

gEDA-user: [PATCH 4/7] PCB localization



Add rule to extract localized stings from .res files

diff --git a/autogen.sh b/autogen.sh
index d1671fb..3eeeca2 100755
--- a/autogen.sh
+++ b/autogen.sh
@@ -70,6 +70,12 @@ sed \
 	-e 's/^GENPOT *=/GENPOT = XGETTEXT=\${XGETTEXT} MSGFMT=\${MSGFMT} /g' \
 	-e 's/ChangeLog//g' \
 	po/Makefile.in.in.orig > po/Makefile.in.in
+
+# Add rule for .res file processing
+echo "
+%.res.h: %.res
+	\$(INTLTOOL_EXTRACT) --type=gettext/quoted $^" >> po/Makefile.in.in
+
 rm -f po/Makefile.in.in.orig

 ############################################################################


_______________________________________________
geda-user mailing list
geda-user@xxxxxxxxxxxxxx
http://www.seul.org/cgi-bin/mailman/listinfo/geda-user