Ignore:
Timestamp:
Feb 9, 2010 12:21:40 AM (5 years ago)
Author:
sam
Message:

Better ChangeLog? generation.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • toilet/trunk/Makefile.am

    r4306 r4343  
    3131        scp $(distdir).tar.gz $(webhost):$(webdir)/files/
    3232
     33update-changelog: FORCE
     34        git --help >/dev/null 2>&1 \
     35          && test -d .git \
     36          && git log --stat | awk 'function flush() { if (m != "") { print "Commit: " v "\nAuthor: " a m } m=""; v="UNSUBMITTED" } { if ($$1 == "commit") flush(); else if ($$1 == "Author:") { a = $$2 } else if ($$1 == "git-svn-id:") { split($$2,tmp,"@"); v=tmp[2] } else if ($$_ != "    ") { m=m "\n" $$_ } } END { flush() }' > ChangeLog
     37
    3338FORCE:
Note: See TracChangeset for help on using the changeset viewer.