build: Have the release target depend on 'all'.

Otherwise, the scripts/guix wrapper may not be present, which would cause the
user's guix wrapper to be used, which in turn would manipulate GUILE_LOAD_PATH
in a way that would cause its Guix modules to take precedence over those of
the tree, with confusion ensuing.

* Makefile.am (release): Add 'all' as a prerequisite.
This commit is contained in:
Maxim Cournoyer 2021-04-27 09:36:39 -04:00
parent ebf5d77eab
commit 868113126c
No known key found for this signature in database
GPG Key ID: 1260E46482E63562

@ -839,7 +839,7 @@ system_flags = $(foreach system,$(1),-s $(system))
#
# XXX: Depend on 'dist' rather than 'distcheck' to work around the Gettext
# issue described at <https://savannah.gnu.org/bugs/index.php?51027>.
release: dist-with-updated-version
release: dist-with-updated-version all
cd po; git checkout .
@if ! git diff-index --quiet HEAD; then \
echo "There are uncommitted changes; stopping." >&2 ; \