source: zzuf/trunk/Makefile.am @ 4394

Last change on this file since 4394 was 4358, checked in by Sam Hocevar, 11 years ago

Clean up ChangeLog? generation.

  • Property svn:keywords set to Id
File size: 790 bytes
Line 
1
2SUBDIRS = src test doc
3DIST_SUBDIRS = $(SUBDIRS)
4
5EXTRA_DIST = bootstrap build-osx build-win32 AUTHORS \
6        m4/cflags.m4 m4/func.m4 \
7        msvc/config.h \
8        msvc/libzzuf.vcproj msvc/libzzuf.vcxproj \
9        msvc/zznop.vcxproj \
10        msvc/zzuf10.sln msvc/zzuf.sln \
11        msvc/zzuf.vcproj msvc/zzuf.vcxproj
12ACLOCAL_AMFLAGS = -I m4
13AUTOMAKE_OPTIONS = foreign dist-bzip2
14
15update-changelog: FORCE
16        git --help >/dev/null 2>&1 \
17          && test -d .git \
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
19
20echo-dirs: ; echo src test
21
22FORCE:
Note: See TracBrowser for help on using the repository browser.