[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
branch wip-tarball updated: maint: Cater for running `make dist' from a
From: |
guix-commits |
Subject: |
branch wip-tarball updated: maint: Cater for running `make dist' from a worktree. |
Date: |
Tue, 02 Apr 2024 17:52:47 -0400 |
This is an automated email from the git hooks/post-receive script.
janneke pushed a commit to branch wip-tarball
in repository guix.
The following commit(s) were added to refs/heads/wip-tarball by this push:
new 330a46dc4a maint: Cater for running `make dist' from a worktree.
330a46dc4a is described below
commit 330a46dc4a681254fa59fc487d03a47a0e8af7e0
Author: Janneke Nieuwenhuizen <janneke@gnu.org>
AuthorDate: Tue Apr 2 23:50:20 2024 +0200
maint: Cater for running `make dist' from a worktree.
* Makefile.am (gen-ChangeLog): Check for existance of `.git', rather than it
being a directory.
(gen-AUTHORS): Likewise.
Change-Id: I1b7f8cc147084c1804deb7be9d36e5eeda2599cb
---
Makefile.am | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/Makefile.am b/Makefile.am
index b58c793ffe..b03832c50e 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -973,7 +973,7 @@ gen-tarball-version:
git show HEAD --format=%ct --no-patch > $(distdir)/.tarball-timestamp
gen-ChangeLog:
- $(AM_V_GEN)if test -d .git; then \
+ $(AM_V_GEN)if test -e .git; then \
$(top_srcdir)/build-aux/gitlog-to-changelog \
> $(distdir)/ChangeLog.tmp; \
rm -f $(distdir)/ChangeLog; \
@@ -981,7 +981,7 @@ gen-ChangeLog:
fi
gen-AUTHORS:
- $(AM_V_GEN)if test -d .git; then \
+ $(AM_V_GEN)if test -e .git; then \
rm -f "$(distdir)/AUTHORS"; \
$(top_builddir)/pre-inst-env "$(GUILE)" \
"$(top_srcdir)/build-aux/generate-authors.scm" \
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- branch wip-tarball updated: maint: Cater for running `make dist' from a worktree.,
guix-commits <=