guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

02/02: maint: Rebuild '.version' when 'config.status' changes.


From: guix-commits
Subject: 02/02: maint: Rebuild '.version' when 'config.status' changes.
Date: Fri, 13 Nov 2020 16:50:25 -0500 (EST)

civodul pushed a commit to branch version-1.2.0
in repository guix.

commit c6e8f40f2ce6082171c18b4aad9877b0ad022563
Author: Ludovic Courtès <ludo@gnu.org>
AuthorDate: Fri Nov 13 22:48:34 2020 +0100

    maint: Rebuild '.version' when 'config.status' changes.
    
    * Makefile.am ($(top_srcdir)/.version): Depend on 'config.status'.  Use
    $(AM_V_GEN).
---
 Makefile.am | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/Makefile.am b/Makefile.am
index 9ef05ad..5b84d74 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"



reply via email to

[Prev in Thread] Current Thread [Next in Thread]