"git@gitlab.caltech.edu:cs24-19fa/git_rec_nano.git" did not exist on "4c20135749401e936fbd5515d510fa033dd7724c"
Commit 00efa503 authored by Benno Schulenberg's avatar Benno Schulenberg
Browse files

build: avoid updated PO files being remerged upon every make

parent a35803d5
Showing with 3 additions and 0 deletions
+3 -0
...@@ -18,6 +18,9 @@ fi ...@@ -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
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment