X-Git-Url: http://git.nomeata.de/?p=vte.git;a=blobdiff_plain;f=Makefile.am;h=ffc177245515750cc06dbb3725555ce312588fbe;hp=d01d8f1fca274e85f6640af391088a2bc618e636;hb=606ae4edb1721ea7643b0e2439a6d8fc2b6469a2;hpb=8ff1af9ae267b8893bcc58f7cfebc88e63d549e1 diff --git a/Makefile.am b/Makefile.am index d01d8f1f..ffc17724 100644 --- a/Makefile.am +++ b/Makefile.am @@ -1,5 +1,15 @@ -SUBDIRS = src python termcaps po doc perf -EXTRA_DIST = MAINTAINERS HACKING vte.pc.in vte-uninstalled.pc.in +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 @@ -11,11 +21,16 @@ SUBDIRS += glade 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 \ @@ -35,3 +50,15 @@ MAINTAINERCLEANFILES = \ $(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