build: avoid updated PO files being remerged upon every make
Этот коммит содержится в:
родитель
a35803d502
Коммит
00efa50385
@ -18,6 +18,9 @@ fi
|
|||||||
echo "Regenerating POT file and remerging and recompiling PO files..."
|
echo "Regenerating POT file and remerging and recompiling PO files..."
|
||||||
make update-po
|
make update-po
|
||||||
|
|
||||||
|
# Ensure that the PO files are newer than the POT.
|
||||||
|
touch *.po
|
||||||
|
|
||||||
# If needed, fix a problem in the Makefile template.
|
# If needed, fix a problem in the Makefile template.
|
||||||
grep -q '^datarootdir' Makefile.in.in || \
|
grep -q '^datarootdir' Makefile.in.in || \
|
||||||
sed -i 's/^\(datadir.*\)/datarootdir = @datarootdir@\n\1/' Makefile.in.in
|
sed -i 's/^\(datadir.*\)/datarootdir = @datarootdir@\n\1/' Makefile.in.in
|
||||||
|
Загрузка…
x
Ссылка в новой задаче
Block a user