From bd9419b2f2ef5a17763f740fedb94d27e10281a8 Mon Sep 17 00:00:00 2001 From: Christian Persch Date: Sun, 16 Sep 2007 12:46:36 +0000 Subject: Build ChangeLog from SVN history at dist time. XSL copied from gnucash and modified to output UTF-8. svn path=/trunk/; revision=7453 --- ChangeLog | 3 - Makefile.am | 10 +++ svn2cl.xsl | 295 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 3 files changed, 305 insertions(+), 3 deletions(-) delete mode 100644 ChangeLog create mode 100644 svn2cl.xsl diff --git a/ChangeLog b/ChangeLog deleted file mode 100644 index e956a0a41..000000000 --- a/ChangeLog +++ /dev/null @@ -1,3 +0,0 @@ -Epiphany does not use ChangeLog anymore. See the HACKING file -for instructions on how to commit to the epiphany SVN module. - diff --git a/Makefile.am b/Makefile.am index d8102fd26..c4436f07d 100644 --- a/Makefile.am +++ b/Makefile.am @@ -13,6 +13,7 @@ EXTRA_DIST = \ COPYING.README \ HACKING \ MAINTAINERS \ + ChangeLog \ ChangeLog-20030925 \ ChangeLog-20040912 \ ChangeLog-20050828 \ @@ -40,3 +41,12 @@ DISTCHECK_CONFIGURE_FLAGS = \ # Ignore gtk theme cache files on distcheck distuninstallcheck_listfiles = find . -type f -print | grep -v 'icon-theme.cache' +# Build ChangeLog from SVN history (r7394 was the first ChangeLog-less checkin). +# Only build this when in an svn checkout. + +ChangeLog: + @if test -f $(top_srcdir)/.svn/entries; then \ + svn log -v --xml -r HEAD:7394 http://svn.gnome.org/svn/epiphany | \ + xsltproc --stringparam strip-prefix "epiphany/trunk" \ + --stringparam include-rev "yes" $(top_srcdir)/svn2cl.xsl - > $@; \ + fi diff --git a/svn2cl.xsl b/svn2cl.xsl new file mode 100644 index 000000000..fec81543b --- /dev/null +++ b/svn2cl.xsl @@ -0,0 +1,295 @@ + + + + + + + +]> + + + + + + + + + + + + + + + + + + + + + + + + + &newl; + + + + + + + + + + + + + + + + + + + + + + + + + + + &newl; + + + + + &space;&space; + + + + &newl;&newl; + + + + + + + + + [r + + ]&space; + + + + &tab;*&space; + + + + + + + + + + + + + + &space; + + + + + + + + + + + + + + + + ,&space; + + + + + + :&space; + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + . + + + + + + + + + + + + + + + + &newl; + + + + + + + + + + + + + + + + + + + &newl;&tab;&space;&space; + + + + + + + + + + + + + + + + + + + + + + + + -- cgit v1.2.3