[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
01/07: maint: Cater for running `make dist' from a worktree.
From: |
guix-commits |
Subject: |
01/07: maint: Cater for running `make dist' from a worktree. |
Date: |
Wed, 3 Apr 2024 05:39:01 -0400 (EDT) |
janneke pushed a commit to branch wip-tarball
in repository guix.
commit f2ea7b00212b5bf391975c92759105766178b03f
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 1c5688ac13..2b5e145095 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -972,7 +972,7 @@ gen-tarball-version:
echo $(VERSION) > "$(distdir)/.tarball-version"
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; \
@@ -980,7 +980,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" \
- branch wip-tarball created (now 2d748d8e82), guix-commits, 2024/04/03
- 06/07: maint: Generate 'version-LANG.texi' reproducibly., guix-commits, 2024/04/03
- 01/07: maint: Cater for running `make dist' from a worktree.,
guix-commits <=
- 02/07: maint: Use reproducible timestamps and name for tarball., guix-commits, 2024/04/03
- 07/07: maint: Use reproducible POT-Creation-Date., guix-commits, 2024/04/03
- 05/07: maint: Help help2man generate reproducible man-pages., guix-commits, 2024/04/03
- 04/07: maint: Ensure generated file reproducibility for dist., guix-commits, 2024/04/03
- 03/07: maint: Generate 'version.texi' reproducibly., guix-commits, 2024/04/03