Remove unused variable
[vte.git] / Makefile.am
index af437a6..ffc1772 100644 (file)
@@ -1 +1,64 @@
-SUBDIRS = src
+SUBDIRS = src termcaps po doc perf
+
+if HAVE_GTK_2
+SUBDIRS += python
+endif
+
+EXTRA_DIST = \
+       MAINTAINERS \
+       HACKING \
+       autogen.sh \
+       ChangeLog.pre-git
+
+DISTCLEANFILES =
+
+if BUILD_GNOME_PTY_HELPER
+SUBDIRS += gnome-pty-helper
+endif
+
+if ENABLE_GLADE_CATALOGUE
+SUBDIRS += glade
+endif
+
+pkgconfigdir = $(libdir)/pkgconfig
+pkgconfig_DATA = vte$(VTE_PC_VERSION).pc
+
+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 \
+               $(srcdir)/compile \
+               $(srcdir)/config.guess \
+               $(srcdir)/config.h.in \
+               $(srcdir)/config.sub \
+               $(srcdir)/configure \
+               $(srcdir)/configure.scan \
+               $(srcdir)/depcomp \
+               $(srcdir)/install-sh \
+               $(srcdir)/ltmain.sh \
+               $(srcdir)/missing \
+               $(srcdir)/mkinstalldirs \
+               $(srcdir)/omf.make \
+               $(srcdir)/xmldocs.make \
+               $(srcdir)/gtk-doc.make \
+               $(srcdir)/po/Makefile.in.in \
+               `find "$(srcdir)" -type f -name Makefile.in -print`
+
+# Build ChangeLog from GIT  history
+ChangeLog:
+       $(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