~ruther/guix-local

ac140f796633b36487d3bef0bb43ed9f10b62666 — Ludovic Courtès 10 years ago a5b2570
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'.
1 files changed, 6 insertions(+), 3 deletions(-)

M Makefile.am
M Makefile.am => Makefile.am +6 -3
@@ 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: