1ACLOCAL_AMFLAGS = ${ACLOCAL_FLAGS}
2
3SUBDIRS = src termcaps po doc perf
4
5if HAVE_GTK_2
6SUBDIRS += python
7endif
8
9EXTRA_DIST = \
10	MAINTAINERS \
11	HACKING \
12	autogen.sh \
13	ChangeLog.pre-git
14
15DISTCLEANFILES =
16
17if BUILD_GNOME_PTY_HELPER
18SUBDIRS += gnome-pty-helper
19endif
20
21if ENABLE_GLADE_CATALOGUE
22SUBDIRS += glade
23endif
24
25pkgconfigdir = $(libdir)/pkgconfig
26pkgconfig_DATA = vte$(VTE_PC_VERSION).pc
27
28DISTCHECK_CONFIGURE_FLAGS = \
29	--enable-gtk-doc \
30	--disable-introspection \
31	--disable-silent-rules \
32	--with-gtk=3.0
33
34MAINTAINERCLEANFILES = \
35		ChangeLog \
36		$(srcdir)/INSTALL \
37		$(srcdir)/aclocal.m4 \
38		$(srcdir)/autoscan.log \
39		$(srcdir)/compile \
40		$(srcdir)/config.guess \
41		$(srcdir)/config.h.in \
42		$(srcdir)/config.sub \
43		$(srcdir)/configure \
44		$(srcdir)/configure.scan \
45		$(srcdir)/depcomp \
46		$(srcdir)/install-sh \
47		$(srcdir)/ltmain.sh \
48		$(srcdir)/missing \
49		$(srcdir)/mkinstalldirs \
50		$(srcdir)/omf.make \
51		$(srcdir)/xmldocs.make \
52		$(srcdir)/gtk-doc.make \
53		$(srcdir)/po/Makefile.in.in \
54		`find "$(srcdir)" -type f -name Makefile.in -print`
55
56# Build ChangeLog from GIT  history
57ChangeLog:
58	$(AM_V_GEN) if test -d $(top_srcdir)/.git; then \
59		GIT_DIR="$(top_srcdir)/.git" git log --stat > $@; \
60	fi
61
62dist: ChangeLog
63
64.PHONY: ChangeLog
65
66-include $(top_srcdir)/git.mk
67