From a35803d5024131770cf3d55f30b0dfe88446f87f Mon Sep 17 00:00:00 2001 From: Benno Schulenberg Date: Sat, 15 Oct 2016 15:06:18 +0200 Subject: [PATCH] build: avoid an annoying warning at configure time --- po/update_linguas.sh | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/po/update_linguas.sh b/po/update_linguas.sh index a1d3612b..a4ecbd38 100755 --- a/po/update_linguas.sh +++ b/po/update_linguas.sh @@ -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