[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
02/09: build: Adjust 'gen-AUTHORS' for 'distcheck' and when run from a t
From: |
Ludovic Courtès |
Subject: |
02/09: build: Adjust 'gen-AUTHORS' for 'distcheck' and when run from a tarball. |
Date: |
Sun, 19 Jul 2015 20:28:23 +0000 |
civodul pushed a commit to branch master
in repository guix.
commit ac140f796633b36487d3bef0bb43ed9f10b62666
Author: Ludovic Courtès <address@hidden>
Date: Sun Jul 19 21:50:57 2015 +0200
build: Adjust 'gen-AUTHORS' for 'distcheck' and when run from a tarball.
* Makefile.am (gen-AUTHORS): Don't do anything if '.git' is missing. Remove
"$(distdir)/AUTHORS" before invoking 'generate-authors.scm'.
---
Makefile.am | 9 ++++++---
1 files changed, 6 insertions(+), 3 deletions(-)
diff --git a/Makefile.am b/Makefile.am
index 5cf9314..870c6f9 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -389,9 +389,12 @@ gen-ChangeLog:
fi
gen-AUTHORS:
- $(top_builddir)/pre-inst-env "$(GUILE)" \
- "$(top_srcdir)/build-aux/generate-authors.scm" \
- "$(top_srcdir)" "$(distdir)/AUTHORS"
+ if test -d .git; then \
+ rm -f "$(distdir)/AUTHORS"; \
+ $(top_builddir)/pre-inst-env "$(GUILE)" \
+ "$(top_srcdir)/build-aux/generate-authors.scm" \
+ "$(top_srcdir)" "$(distdir)/AUTHORS"; \
+ fi
# Make sure we're not shipping a file that embeds a local /gnu/store file name.
assert-no-store-file-names:
- branch master updated (5ede5f2 -> 50c7a1e), Ludovic Courtès, 2015/07/19
- 02/09: build: Adjust 'gen-AUTHORS' for 'distcheck' and when run from a tarball.,
Ludovic Courtès <=
- 01/09: AUTHORS: Remove the hand-made list of people., Ludovic Courtès, 2015/07/19
- 05/09: build: Do not distribute the daemon's 'schema.sql.hh' file., Ludovic Courtès, 2015/07/19
- 03/09: build: Add 'generate-authors.scm' to the distribution., Ludovic Courtès, 2015/07/19
- 07/09: build: Ensure man pages are not rebuilt by users., Ludovic Courtès, 2015/07/19
- 06/09: build: Fix instantiation of 'guix-daemon.service' when builddir != srcdir., Ludovic Courtès, 2015/07/19
- 04/09: build: Build coreutils-size-map.eps for the sake of the PS and DVI outputs., Ludovic Courtès, 2015/07/19
- 08/09: nls: Add package files for translation., Ludovic Courtès, 2015/07/19
- 09/09: gnu: Add gnu-c-manual., Ludovic Courtès, 2015/07/19