Commit Graph

10 Commits

Author SHA1 Message Date
Jan Chren (rindeal) a7f9588745 po/update-potfiles: fallback to `find` when git doesn't work
It allows to run po/update-potfiles not only in tarballs
and git repositories, but in git snapshots as well.
2019-10-04 16:40:49 +02:00
Benno Schulenberg 7d78e9880a build-sys: exclude Documentation/ from looking for translatable strings
Signed-off-by: Benno Schulenberg <bensberg@justemail.net>
2014-07-14 16:21:34 +02:00
Ruediger Meier 0a8e0e8b2f build-sys: fix update-potfiles script
Now are using "git ls-files" to avoid finding non-project
files or autoheaders which could break the dist tarball.

For non-git source dirs we assume that any existing POTFILES.in is
up-todate (build from tarball) or we provide at least an empty list
to not be a show-stopper for builds from poor "git archive".

Signed-off-by: Ruediger Meier <ruediger.meier@ga-group.nl>
2014-06-04 10:13:45 +02:00
Karel Zak 71b161ea37 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>
2012-10-10 14:10:30 +02:00
Karel Zak d55bb4825b po: add *.h stuff to POTFILES
Signed-off-by: Karel Zak <kzak@redhat.com>
2012-06-19 12:50:10 +02:00
Benno Schulenberg 3bb21a4c4a po: do not search /samples/ subdirectories for translatable strings
Signed-off-by: Benno Schulenberg <bensberg@justemail.net>
2011-08-16 10:16:34 +02:00
Karel Zak 7c2ee1d26c build-sys: remove generated po/POTFILES.in
Signed-off-by: Karel Zak <kzak@redhat.com>
2010-12-29 20:51:58 +01:00
Karel Zak 6833165533 po: rewrite update-potfiles script
Signed-off-by: Karel Zak <kzak@redhat.com>
2009-03-18 20:53:43 +01:00
Karel Zak 48d7b13a1e Imported from util-linux-2.13-pre1 tarball. 2006-12-07 00:26:54 +01:00
Karel Zak 7eda085c41 Imported from util-linux-2.9v tarball. 2006-12-07 00:25:39 +01:00