mirror of
https://git.savannah.gnu.org/git/guix.git
synced 2026-05-27 03:21:49 +02:00
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
This commit is contained in:
+2
-2
@@ -972,7 +972,7 @@ gen-tarball-version:
|
|||||||
echo $(VERSION) > "$(distdir)/.tarball-version"
|
echo $(VERSION) > "$(distdir)/.tarball-version"
|
||||||
|
|
||||||
gen-ChangeLog:
|
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 \
|
$(top_srcdir)/build-aux/gitlog-to-changelog \
|
||||||
> $(distdir)/ChangeLog.tmp; \
|
> $(distdir)/ChangeLog.tmp; \
|
||||||
rm -f $(distdir)/ChangeLog; \
|
rm -f $(distdir)/ChangeLog; \
|
||||||
@@ -980,7 +980,7 @@ gen-ChangeLog:
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
gen-AUTHORS:
|
gen-AUTHORS:
|
||||||
$(AM_V_GEN)if test -d .git; then \
|
$(AM_V_GEN)if test -e .git; then \
|
||||||
rm -f "$(distdir)/AUTHORS"; \
|
rm -f "$(distdir)/AUTHORS"; \
|
||||||
$(top_builddir)/pre-inst-env "$(GUILE)" \
|
$(top_builddir)/pre-inst-env "$(GUILE)" \
|
||||||
"$(top_srcdir)/build-aux/generate-authors.scm" \
|
"$(top_srcdir)/build-aux/generate-authors.scm" \
|
||||||
|
|||||||
Reference in New Issue
Block a user