Skip to content

Commit

Permalink
fix(build): Avoid the perceived need for an extra automake cycle in d…
Browse files Browse the repository at this point in the history
…ist tarball
  • Loading branch information
alerque committed Jun 27, 2024
1 parent 2e97057 commit f634a60
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions configure.ac
Original file line number Diff line number Diff line change
Expand Up @@ -290,3 +290,11 @@ AC_OUTPUT

AC_MSG_NOTICE([monkey-patching configure to ignore core directory])
m4_esyscmd_s([build-aux/decore-automake.sh])

# Avoid the perceived need to run automake again when building from source
# tarballs. The assorted AM include macros assume two passes are needed to
# generate a makefile since one pass has to generate the includes and the
# second one inlines them, but we're distributing a ready-to-use version and
# hence one pass is enough. We can skip ahead and assume the Makefile template
# is ready to go an this point, avoiding the need for autotools at all.
AM_COND_IF([SOURCE_IS_DIST], [touch -r aminclude.am Makefile.in])

0 comments on commit f634a60

Please sign in to comment.