[vlc-devel] commit: Revert " Copy the changelogs if they exist instead of generating them with git" ( Rémi Denis-Courmont )

git version control git at videolan.org
Mon Mar 31 18:14:49 CEST 2008


vlc | branch: master | Rémi Denis-Courmont <rem at videolan.org> | Mon Mar 31 18:53:43 2008 +0300| [5badb86c83991e06655f2b773d526373a71bca53]

Revert "Copy the changelogs if they exist instead of generating them with git"

This reverts commit 70f620e7f94eb02fc6f5eda47599ae5354c12483.

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=5badb86c83991e06655f2b773d526373a71bca53
---

 doc/Makefile.am |   14 +++++---------
 1 files changed, 5 insertions(+), 9 deletions(-)

diff --git a/doc/Makefile.am b/doc/Makefile.am
index 036a61c..6c1989e 100644
--- a/doc/Makefile.am
+++ b/doc/Makefile.am
@@ -50,15 +50,11 @@ EXTRA_DIST = \
 DISTCLEANFILES = $(CHANGELOGS)
 
 $(CHANGELOGS): Makefile.am
-	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
+	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" \
+		> "$@"
 
 # This one needs to be rebuilt all the time :)
 .PHONY: ChangeLog-2008




More information about the vlc-devel mailing list