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");