Skip to content

Commit

Permalink
Guard checksum generation (and the extra dependencies) behind maintai…
Browse files Browse the repository at this point in the history
…ner mode
  • Loading branch information
alerque committed Apr 4, 2024
1 parent 1e219b4 commit a83f473
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ jobs:
- name: Configure
run: |
./bootstrap.sh
./configure
./configure --enable-maintainer-mode
- name: Run tests
run: |
make check
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
3 changes: 2 additions & 1 deletion configure.ac
Original file line number Diff line number Diff line change
Expand Up @@ -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])

Expand Down Expand Up @@ -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
Expand Down

0 comments on commit a83f473

Please sign in to comment.