po: make the linguas script regenerate the POT file

So we don't have to remember its awkward target name.
This commit is contained in:
Benno Schulenberg 2016-06-27 10:58:47 +02:00
parent 61d7ca4c41
commit 8fef94cd7d

View File

@ -1,6 +1,6 @@
#!/bin/sh #!/bin/sh
# Execute this is the po/ subdir. # Let this be executed in the po/ subdir.
cd "$(dirname "$0")" || exit cd "$(dirname "$0")" || exit
echo "Updating translations via TP" echo "Updating translations via TP"
@ -15,10 +15,5 @@ if [ -n "${NEWSTUFF}" ]; then
echo $(printf '%s\n' *.po | LC_ALL=C sort | sed 's/\.po//g') >>LINGUAS echo $(printf '%s\n' *.po | LC_ALL=C sort | sed 's/\.po//g') >>LINGUAS
fi fi
echo "Remerging and recompiling the PO files..." echo "Regenerating POT file and remerging and recompiling PO files..."
make make update-po
#echo "Staging the files"
#git add -v nano.pot
#git add -v *.po
#git add -v LINGUAS