[vlc-devel] commit: Automate ChangeLog-2008 too ( Rémi Denis-Courmont )

git version control git at videolan.org
Mon Mar 31 17:45:30 CEST 2008


vlc | branch: 0.8.6-bugfix | Rémi Denis-Courmont <rem at videolan.org> | Mon Mar 31 17:39:14 2008 +0300| [70eec12ec932c82ec61ecbdeee0f9d7e2008bea8]

Automate ChangeLog-2008 too

(needs to check make distclean now)
(cherry picked from commit ce52ce2eaf92223c22e9d16a7c3c262d9d22d663)

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

 Makefile.am     |    4 ++++
 doc/Makefile.am |    3 +++
 2 files changed, 7 insertions(+), 0 deletions(-)

diff --git a/Makefile.am b/Makefile.am
index 0123d23..4f3d3b4 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -47,6 +47,10 @@ endif
 # Tell aclocal to use -I m4. Wonder if it really works.
 ACLOCAL_AMFLAGS = -I m4
 
+ChangeLog: Makefile.am
+	rm -f -- "$@"
+	ln -sf doc/ChangeLog-2008 "$@"
+
 ###############################################################################
 # MacOS X project
 ###############################################################################
diff --git a/doc/Makefile.am b/doc/Makefile.am
index 9915bec..9eacd81 100644
--- a/doc/Makefile.am
+++ b/doc/Makefile.am
@@ -19,6 +19,7 @@ CHANGELOGS = \
 	ChangeLog-2005 \
 	ChangeLog-2006 \
 	ChangeLog-2007 \
+	ChangeLog-2008 \
 	$(NULL)
 
 EXTRA_DIST = \
@@ -53,3 +54,5 @@ $(CHANGELOGS): Makefile.am
 		--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