Skip to content

Commit

Permalink
fix(build): Touch Makefile.in to avoid automake errors
Browse files Browse the repository at this point in the history
If for some reason Makefile.in is older than acloacl.a4 and other
automake generated files, it will want to regenerate it ... which
requires automake tools, and specifically wants matching versions.

This simple action (after we're done mucking around with the other
files to remove automake's handling of "core") keeps it from thinking it
needs to rebuild anything.
  • Loading branch information
alerque committed Jul 23, 2020
1 parent 7939970 commit e7f4627
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions build-aux/decore-automake.sh
Original file line number Diff line number Diff line change
Expand Up @@ -13,3 +13,9 @@ for f in configure aclocal.m4; do
touch -r $TS $f
fi
done

# Makefile.in being newer than aclocal.m4 at this point *is* important, this
# point being both dist-hook and at configure time. The former is covered by a
# side effect of a `sed` intervention, but to cover configure time changes we
# need it here too.
touch Makefile.in

0 comments on commit e7f4627

Please sign in to comment.