build: avoid an annoying warning at configure time

This commit is contained in:
Benno Schulenberg 2016-10-15 15:06:18 +02:00
parent 7013039c3a
commit a35803d502
1 changed files with 4 additions and 0 deletions

View File

@ -17,3 +17,7 @@ fi
echo "Regenerating POT file and remerging and recompiling PO files..."
make update-po
# If needed, fix a problem in the Makefile template.
grep -q '^datarootdir' Makefile.in.in || \
sed -i 's/^\(datadir.*\)/datarootdir = @datarootdir@\n\1/' Makefile.in.in