Browse Source

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'.
gn-latest-20200428
Ludovic Courtès 6 years ago
parent
commit
ac140f7966
1 changed files with 6 additions and 3 deletions
  1. +6
    -3
      Makefile.am

+ 6
- 3
Makefile.am View File

@ -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:


Loading…
Cancel
Save