]> Pileus Git - ~andy/gtk/blobdiff - Makefile.am
Make sure dist check includes introspection
[~andy/gtk] / Makefile.am
index e1bd48e8ad1f41f32e2f30b099330dff3e460695..98014f0b8cab928691893bc7248a2a47b8db4aa8 100644 (file)
@@ -6,6 +6,7 @@ SUBDIRS = po po-properties $(SRC_SUBDIRS) docs m4macros
 
 # require automake 1.4
 AUTOMAKE_OPTIONS = 1.7
+ACLOCAL_AMFLAGS = -I m4
 
 EXTRA_DIST +=                  \
        HACKING                 \
@@ -118,6 +119,26 @@ EXTRA_DIST +=                      \
        examples/spinbutton/spinbutton.c  \
        examples/spinbutton/Makefile  \
        examples/find-examples.sh
+MAINTAINERCLEANFILES = \
+       $(srcdir)/INSTALL \
+       $(srcdir)/README \
+       $(srcdir)/aclocal.m4 \
+       $(srcdir)/autoscan.log \
+       $(srcdir)/compile \
+       $(srcdir)/config.guess \
+       $(srcdir)/config.h.in \
+       $(srcdir)/config.sub \
+       $(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)/ChangeLog \
+       `find "$(srcdir)" -type f -name Makefile.in -print`
 
 GDKTARGET=@gdktarget@
 
@@ -155,6 +176,11 @@ DISTCLEANFILES =                           \
        gail-uninstalled.pc                     \
        config.lt
 
+distclean-local:
+       if test "$(srcdir)" = "."; then :; else \
+               rm -f ChangeLog; \
+       fi
+
 ChangeLog:
        @echo Creating $@
        @if test -d "$(srcdir)/.git"; then \
@@ -217,4 +243,16 @@ sanity:
 snapshot:
        $(MAKE) dist distdir=$(PACKAGE)-snap`date +"%Y%m%d"`
 
-DISTCHECK_CONFIGURE_FLAGS = --enable-gtk-doc --enable-man --disable-rebuilds
+DISTCHECK_CONFIGURE_FLAGS = --enable-gtk-doc --enable-man --disable-rebuilds --enable-introspection
+
+GITIGNOREFILES = \
+       po-properties/Makefile.in.in \
+       po-properties/Makefile.in \
+       po-properties/Makefile \
+       po-properties/*.gmo \
+       po-properties/*.mo \
+       po-properties/POTFILES \
+       po-properties/stamp-it \
+       po-properties/.intltool-merge-cache
+
+-include $(top_srcdir)/git.mk