[vlc-devel] commit: Copy the changelogs if they exist instead of generating them with git ( Rafaël Carré )
git version control
git at videolan.org
Mon Mar 31 17:45:30 CEST 2008
vlc | branch: 0.8.6-bugfix | Rafaël Carré <funman at videolan.org> | Mon Mar 31 17:45:49 2008 +0200| [70f620e7f94eb02fc6f5eda47599ae5354c12483]
Copy the changelogs if they exist instead of generating them with git
Fix make distcheck
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=70f620e7f94eb02fc6f5eda47599ae5354c12483
---
doc/Makefile.am | 14 +++++++++-----
1 files changed, 9 insertions(+), 5 deletions(-)
diff --git a/doc/Makefile.am b/doc/Makefile.am
index 6c1989e..036a61c 100644
--- a/doc/Makefile.am
+++ b/doc/Makefile.am
@@ -50,11 +50,15 @@ EXTRA_DIST = \
DISTCLEANFILES = $(CHANGELOGS)
$(CHANGELOGS): Makefile.am
- y="$$(echo "$@" | sed -e 's,ChangeLog-,,')" ; \
- git --git-dir=$(top_srcdir)/.git log\
- --since="$$y-01-01" \
- --until="$$y-12-31 23:00:00 -0100" \
- > "$@"
+ if test -f "$(top_srcdir)/doc/$@"; then \
+ cp "$(top_srcdir)/doc/$@" "$@" ; \
+ else \
+ y="$$(echo "$@" | sed -e 's,ChangeLog-,,')" ; \
+ git --git-dir=$(top_srcdir)/.git log \
+ --since="$$y-01-01" \
+ --until="$$y-12-31 23:00:00 -0100" \
+ > "$@" ; \
+ fi
# This one needs to be rebuilt all the time :)
.PHONY: ChangeLog-2008
More information about the vlc-devel
mailing list