Ignore:
Timestamp:
Feb 9, 2010, 3:16:20 AM (11 years ago)
Author:
Sam Hocevar
Message:

Clean up ChangeLog? generation.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • zzuf/trunk/Makefile.am

    r4357 r4358  
    1616        git --help >/dev/null 2>&1 \
    1717          && test -d .git \
    18           && git log --stat | grep -v '^    \(git-svn-id\|$$\)' \
    19               | sed '/^Author:/s/ <.*@.*>//' > ChangeLog
     18          && 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
    2019
    2120echo-dirs: ; echo src test
Note: See TracChangeset for help on using the changeset viewer.