-SUBDIRS = src python termcaps po doc perf
+SUBDIRS = src termcaps po doc perf
+
+if HAVE_GTK_2
+SUBDIRS += python
+endif
EXTRA_DIST = \
MAINTAINERS \
endif
pkgconfigdir = $(libdir)/pkgconfig
-pkgconfig_DATA = vte.pc
+pkgconfig_DATA = vte$(VTE_PC_VERSION).pc
-DISTCHECK_CONFIGURE_FLAGS = --enable-gtk-doc
+DISTCHECK_CONFIGURE_FLAGS = \
+ --enable-gtk-doc \
+ --disable-introspection \
+ --disable-silent-rules \
+ --with-gtk=2.0
MAINTAINERCLEANFILES = \
ChangeLog \
# Build ChangeLog from GIT history
ChangeLog:
- @if test -d $(top_srcdir)/.git; then \
+ $(AM_V_GEN) if test -d $(top_srcdir)/.git; then \
GIT_DIR="$(top_srcdir)/.git" git log --stat > $@; \
fi