diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 965d87d6..bee5f803 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -49,7 +49,7 @@ jobs: - name: Configure run: | ./bootstrap.sh - ./configure + ./configure --enable-maintainer-mode - name: Run tests run: | make check diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 8da056b2..2717046f 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -23,7 +23,7 @@ jobs: echo "VERSION=${GITHUB_REF#refs/*/v}" >> $GITHUB_ENV echo "${GITHUB_REF#refs/*/v}" > .tarball-version ./bootstrap.sh - ./configure + ./configure --enable-maintainer-mode - name: Generate release-specific changelog run: | echo "PRERELEASE=${{ contains(env.VERSION, '-alpha') || contains(env.VERSION, '-beta') || contains(env.VERSION, '-rc') }}" >> $GITHUB_ENV diff --git a/configure.ac b/configure.ac index 6116088c..378031dd 100644 --- a/configure.ac +++ b/configure.ac @@ -5,6 +5,7 @@ AC_CONFIG_MACRO_DIR([build-aux]) AM_INIT_AUTOMAKE([foreign tar-pax dist-zstd dist-zip no-dist-gzip color-tests]) AM_SILENT_RULES([yes]) +AM_MAINTAINER_MODE AM_CONDITIONAL([IS_SDIST], [test ! -e .gitignore]) @@ -33,8 +34,8 @@ QUE_TRANSFORM_PACKAGE_NAME # These macros must be run after processing our standalone setup because # they all expect the program name transformation setup to be complete. QUE_GIT_VERSION -QUE_DIST_CHECKSUMS QUE_SHELL_COMPLETION_DIRS +AM_COND_IF([MAINTAINER_MODE], [QUE_DIST_CHECKSUMS]) AC_PROG_GREP AC_PROG_SED