Remove ChangeLog, and auto-generate changelog on make dist
[vte.git] / Makefile.am
1 SUBDIRS = src python termcaps po doc perf
2
3 EXTRA_DIST = \
4         MAINTAINERS \
5         HACKING \
6         autogen.sh \
7         ChangeLog.pre-git
8
9 DISTCLEANFILES =
10
11 if BUILD_GNOME_PTY_HELPER
12 SUBDIRS += gnome-pty-helper
13 endif
14
15 if ENABLE_GLADE_CATALOGUE
16 SUBDIRS += glade
17 endif
18
19 pkgconfigdir = $(libdir)/pkgconfig
20 pkgconfig_DATA = vte.pc
21
22 DISTCHECK_CONFIGURE_FLAGS = --enable-gtk-doc
23
24 MAINTAINERCLEANFILES = \
25                 $(srcdir)/INSTALL \
26                 $(srcdir)/aclocal.m4 \
27                 $(srcdir)/autoscan.log \
28                 $(srcdir)/compile \
29                 $(srcdir)/config.guess \
30                 $(srcdir)/config.h.in \
31                 $(srcdir)/config.sub \
32                 $(srcdir)/configure \
33                 $(srcdir)/configure.scan \
34                 $(srcdir)/depcomp \
35                 $(srcdir)/install-sh \
36                 $(srcdir)/ltmain.sh \
37                 $(srcdir)/missing \
38                 $(srcdir)/mkinstalldirs \
39                 $(srcdir)/omf.make \
40                 $(srcdir)/xmldocs.make \
41                 $(srcdir)/gtk-doc.make \
42                 $(srcdir)/po/Makefile.in.in \
43                 `find "$(srcdir)" -type f -name Makefile.in -print`
44
45 # Build ChangeLog from GIT  history
46 ChangeLog:
47         @if test -d $(top_srcdir)/.git; then \
48                 GIT_DIR="$(top_srcdir)/.git" git log --stat > $@; \
49         fi
50
51 dist: ChangeLog
52
53 .PHONY: ChangeLog