summaryrefslogtreecommitdiffstats
path: root/po/update-potfiles
diff options
context:
space:
mode:
authorKarel Zak2012-10-10 13:06:01 +0200
committerKarel Zak2012-10-10 14:10:30 +0200
commit71b161ea37c57dc6a8341aeec6c0c2ae7cd4cfe3 (patch)
treeacc7411f8a4d3ada536de7204498ef80be399979 /po/update-potfiles
parentbuild-sys: remove --enable-gtk-doc from make check (diff)
downloadkernel-qcow2-util-linux-71b161ea37c57dc6a8341aeec6c0c2ae7cd4cfe3.tar.gz
kernel-qcow2-util-linux-71b161ea37c57dc6a8341aeec6c0c2ae7cd4cfe3.tar.xz
kernel-qcow2-util-linux-71b161ea37c57dc6a8341aeec6c0c2ae7cd4cfe3.zip
build-sys: clean update-potfiles script
- use only sed(1) - remove config.h from the result - remove samples/, tests/, util-linu-*/ ("make ditcheck" product) directories from the result Signed-off-by: Karel Zak <kzak@redhat.com>
Diffstat (limited to 'po/update-potfiles')
-rwxr-xr-xpo/update-potfiles3
1 files changed, 1 insertions, 2 deletions
diff --git a/po/update-potfiles b/po/update-potfiles
index fe957f87e..c92abd8b7 100755
--- a/po/update-potfiles
+++ b/po/update-potfiles
@@ -14,6 +14,5 @@
find -name "*.c" -or -name "*.h" | \
sort | \
- sed ':/samples/:d' | \
- gawk '! /^\.\/tests\// { print gensub(/^\.\//, "", 1) }' \
+ sed '/samples/d; /config\.h/d; /util-linux-.*/d; /\.\/tests/d; s/^\.\///' \
> po/POTFILES.in