-SUBDIRS = src python termcaps po doc perf
+SUBDIRS = src termcaps po doc perf
+
+if HAVE_GTK_2
+SUBDIRS += python
+endif
EXTRA_DIST = \
MAINTAINERS \
autogen.sh \
ChangeLog.pre-git
-CLEANFILES = \
- ChangeLog
-
DISTCLEANFILES =
if BUILD_GNOME_PTY_HELPER
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 \
$(srcdir)/INSTALL \
$(srcdir)/aclocal.m4 \
$(srcdir)/autoscan.log \
# 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
dist: ChangeLog
.PHONY: ChangeLog
+
+-include $(top_srcdir)/git.mk