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>
This commit is contained in:
parent
78dd43cadc
commit
71b161ea37
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue