[build] Added ChangeLog target to make
[adg.git] / Makefile.am
blob9895f84e1a8f8bca1c4df6b691849435045f7d0c
1 ## Process this file with automake to produce Makefile.in.
3 ACLOCAL_AMFLAGS=        -I m4
6 EXTRA_DIST=             ABOUT-NLS \
7                         AUTHORS \
8                         config.rpath \
9                         COPYING \
10                         ChangeLog \
11                         INSTALL \
12                         m4/ChangeLog \
13                         NEWS \
14                         README
16 SUBDIRS=                cpml \
17                         adg \
18                         demo \
19                         docs \
20                         po
22 # Creating ChangeLog files from git log:
23 # idea stolen from cairo/build/Makefile.am.changelog
24 ChangeLog:
25         @echo Updating $@
26         @if test -d "$(srcdir)/.git"; then \
27           (cd "$(srcdir)" && git log --stat > $@); \
28         else \
29           echo A git checkout is required to generate $@ >&2; \
30         fi