diff options
author | Ludovic Courtès <ludo@gnu.org> | 2020-11-13 22:48:34 +0100 |
---|---|---|
committer | Ludovic Courtès <ludo@gnu.org> | 2020-11-13 22:48:34 +0100 |
commit | c6e8f40f2ce6082171c18b4aad9877b0ad022563 (patch) | |
tree | ec1789153ffa499b8d4878c51e6c83e2bdc0a119 | |
parent | 627e61f1a8e08fcc2290df12309a6e0712a6c7f4 (diff) | |
download | guix-c6e8f40f2ce6082171c18b4aad9877b0ad022563.tar.gz |
maint: Rebuild '.version' when 'config.status' changes.
* Makefile.am ($(top_srcdir)/.version): Depend on 'config.status'. Use $(AM_V_GEN).
-rw-r--r-- | Makefile.am | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Makefile.am b/Makefile.am index 9ef05ad27d..5b84d74f08 100644 --- a/Makefile.am +++ b/Makefile.am @@ -731,8 +731,8 @@ distcheck-hook: assert-binaries-available assert-final-inputs-self-contained EXTRA_DIST += $(top_srcdir)/.version BUILT_SOURCES += $(top_srcdir)/.version -$(top_srcdir)/.version: - echo $(VERSION) > "$@-t" && mv "$@-t" "$@" +$(top_srcdir)/.version: config.status + $(AM_V_GEN)echo $(VERSION) > "$@-t" && mv "$@-t" "$@" gen-tarball-version: echo $(VERSION) > "$(distdir)/.tarball-version" |