diff options
author | Karel Zak | 2012-10-10 13:06:01 +0200 |
---|---|---|
committer | Karel Zak | 2012-10-10 14:10:30 +0200 |
commit | 71b161ea37c57dc6a8341aeec6c0c2ae7cd4cfe3 (patch) | |
tree | acc7411f8a4d3ada536de7204498ef80be399979 /po | |
parent | build-sys: remove --enable-gtk-doc from make check (diff) | |
download | kernel-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')
-rwxr-xr-x | po/update-potfiles | 3 |
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 |