projects
/
pspp
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Look for pspp.pot in both build and source directories.
[pspp]
/
build-pspp
diff --git
a/build-pspp
b/build-pspp
index ce153b3024b74f97aa565b4b37bebd2675290627..be84459c484ef04afdde2551f261e200593ad478 100755
(executable)
--- a/
build-pspp
+++ b/
build-pspp
@@
-251,7
+251,11
@@
EOF
run ("cd pspp/_build && make dist", "dist");
my $tarname = "pspp-$version.tar.gz";
$tarball = save_result ("source distribution", "pspp/_build/$tarname", 1);
run ("cd pspp/_build && make dist", "dist");
my $tarname = "pspp-$version.tar.gz";
$tarball = save_result ("source distribution", "pspp/_build/$tarname", 1);
- save_result ("translation templates", "pspp/_build/po/pspp.pot");
+
+ # Save translation templates.
+ my $potfile = "pspp/_build/po/pspp.pot";
+ $potfile = "pspp/po/pspp.pot" if ! -e $potfile;
+ save_result ("translation templates", $potfile);
# Build user manual
start_step ("Build user manual");
# Build user manual
start_step ("Build user manual");