i18n: Add script to generate POTFILES.skip
authorJens Georg <mail@jensge.org>
Sat, 22 Oct 2011 07:01:59 +0000 (09:01 +0200)
committerJens Georg <mail@jensge.org>
Sat, 22 Oct 2011 08:04:16 +0000 (10:04 +0200)
po/gen-potfiles-skip [new file with mode: 0755]

diff --git a/po/gen-potfiles-skip b/po/gen-potfiles-skip
new file mode 100755 (executable)
index 0000000..a1c9bc5
--- /dev/null
@@ -0,0 +1,17 @@
+#!/bin/sh
+(
+cat <<'__EOF__'
+data/rygel.desktop.in
+data/rygel-preferences.desktop.in
+data/xml/AVTransport2.xml
+data/xml/ConnectionManager.xml
+data/xml/ContentDirectory.xml
+data/xml/MediaRenderer2.xml
+data/xml/MediaServer2.xml
+data/xml/RenderingControl2.xml
+__EOF__
+) > POTFILES.skip
+
+(cd .. && find src/plugins/mediathek -name "*.vala" | sort) >> POTFILES.skip
+(cd .. && find src -name "*.c" | sort ) >> POTFILES.skip
+(cd .. && find tests -name "*.c" | sort ) >> POTFILES.skip