Remove generated ChangeLog on make clean
[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 CLEANFILES = \
10         ChangeLog
11
12 DISTCLEANFILES =
13
14 if BUILD_GNOME_PTY_HELPER
15 SUBDIRS += gnome-pty-helper
16 endif
17
18 if ENABLE_GLADE_CATALOGUE
19 SUBDIRS += glade
20 endif
21
22 pkgconfigdir = $(libdir)/pkgconfig
23 pkgconfig_DATA = vte.pc
24
25 DISTCHECK_CONFIGURE_FLAGS = --enable-gtk-doc
26
27 MAINTAINERCLEANFILES = \
28                 $(srcdir)/INSTALL \
29                 $(srcdir)/aclocal.m4 \
30                 $(srcdir)/autoscan.log \
31                 $(srcdir)/compile \
32                 $(srcdir)/config.guess \
33                 $(srcdir)/config.h.in \
34                 $(srcdir)/config.sub \
35                 $(srcdir)/configure \
36                 $(srcdir)/configure.scan \
37                 $(srcdir)/depcomp \
38                 $(srcdir)/install-sh \
39                 $(srcdir)/ltmain.sh \
40                 $(srcdir)/missing \
41                 $(srcdir)/mkinstalldirs \
42                 $(srcdir)/omf.make \
43                 $(srcdir)/xmldocs.make \
44                 $(srcdir)/gtk-doc.make \
45                 $(srcdir)/po/Makefile.in.in \
46                 `find "$(srcdir)" -type f -name Makefile.in -print`
47
48 # Build ChangeLog from GIT  history
49 ChangeLog:
50         @if test -d $(top_srcdir)/.git; then \
51                 GIT_DIR="$(top_srcdir)/.git" git log --stat > $@; \
52         fi
53
54 dist: ChangeLog
55
56 .PHONY: ChangeLog