diff options
author | Mike Frysinger <vapier@gentoo.org> | 2008-11-28 20:18:16 -0500 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2008-11-28 20:18:16 -0500 |
commit | 0419849fb1219dda53d27e935f6a50ab92aae55f (patch) | |
tree | 8a31c423de5a1c37415e07268d422d0b05080d85 /Makefile.am | |
parent | sp_printf: make sure all output goes to stderr (diff) | |
download | sandbox-0419849fb1219dda53d27e935f6a50ab92aae55f.tar.gz sandbox-0419849fb1219dda53d27e935f6a50ab92aae55f.tar.bz2 sandbox-0419849fb1219dda53d27e935f6a50ab92aae55f.zip |
ChangeLog: use git to generate
Now that we're using git rather than svn, update the ChangeLog generation
method accordingly.
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Diffstat (limited to 'Makefile.am')
-rw-r--r-- | Makefile.am | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/Makefile.am b/Makefile.am index 0d2912a..ac859c7 100644 --- a/Makefile.am +++ b/Makefile.am @@ -15,11 +15,13 @@ tests: src EXTRA_DIST = headers.h localdecls.h ChangeLog.0 +ChangeLog: + touch ChangeLog + dist-hook: set -e ; \ - if [ -d "$(top_srcdir)/.svn" -a -x "$(top_srcdir)/scripts/svn2cl" ] ; then \ - PATH="$${PATH}:$(top_srcdir)/scripts" svn2cl ; \ - cp ChangeLog $(distdir) ; \ + if [ -d "$(top_srcdir)/.git" ] ; then \ + git --git-dir="$(top_srcdir)/.git" log > $(distdir)/ChangeLog ; \ elif [ ! -e "$(distdir)/ChangeLog" ] ; then \ if [ -e "$(top_srcdir)/ChangeLog" ] ; then \ cp "$(top_srcdir)/ChangeLog" "$(distdir)/ChangeLog" ; \ |