blob: 1de3e3a3a320abe908792e97a4ac464c31ae8213 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
#!/bin/sh
#
# Copyright (C) 2009 Karel Zak <kzak@redhat.com>
#
# find all *.c files,
# sort the list
# exclude ../tests/ from the list
# and remove "../" prefix
find ../ -name "*.c" | \
sort | \
gawk '! /^\.\.\/tests\// { print gensub(/^\.\.\//, "", 1) }' > POTFILES.in
|