[vlc-devel] commit: Automate ChangeLog-2008 too ( Rémi Denis-Courmont )
git version control
git at videolan.org
Mon Mar 31 16:38:58 CEST 2008
vlc | branch: master | Rémi Denis-Courmont <rem at videolan.org> | Mon Mar 31 17:39:14 2008 +0300| [ce52ce2eaf92223c22e9d16a7c3c262d9d22d663]
Automate ChangeLog-2008 too
(needs to check make distclean now)
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=ce52ce2eaf92223c22e9d16a7c3c262d9d22d663
---
Makefile.am | 4 ++++
doc/Makefile.am | 3 +++
2 files changed, 7 insertions(+), 0 deletions(-)
diff --git a/Makefile.am b/Makefile.am
index 9db5492..ba59632 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -49,6 +49,10 @@ AUTOMAKE_OPTIONS = \
no-dist-gzip
# std-options
+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