Visual Studio builds: Integrate introspection builds
[platform/upstream/atk.git] / Makefile.am
index d21f511..edc6976 100644 (file)
@@ -1,37 +1,28 @@
 # Process this file with automake to create Makefile.in.
+ACLOCAL_AMFLAGS = -I m4 ${ACLOCAL_FLAGS}
 
-SUBDIRS=atk tests docs po
+SUBDIRS = atk tests docs po win32
+
+meson_dist_files = \
+       meson_options.txt \
+       meson.build \
+       atk/meson.build \
+       docs/meson.build \
+       docs/xml/meson.build \
+       docs/xml/gtkdocentities.ent.in \
+       po/meson.build \
+       tests/meson.build \
+       $()
 
 EXTRA_DIST =                   \
-       atk-uninstalled.pc.in   \
+       MAINTAINERS             \
        atk.pc.in               \
-       atk.spec.in             \
-       atk.spec                \
-       atk-zip.sh.in
+       config.h.win32          \
+       $(meson_dist_files)
 
 pkgconfigdir = $(libdir)/pkgconfig
 pkgconfig_DATA = atk.pc
 
-# This is a version of the automake-1.4 distcheck rule modified
-# to pass --enable-gtk-doc to ./configure
-#
-mydistcheck: dist
-       -rm -rf $(distdir)
-       GZIP=$(GZIP_ENV) $(TAR) zxf $(distdir).tar.gz
-       mkdir $(distdir)/=build
-       mkdir $(distdir)/=inst
-       dc_install_base=`cd $(distdir)/=inst && pwd`; \
-       cd $(distdir)/=build \
-         && ../configure --srcdir=.. --prefix=$$dc_install_base --enable-gtk-doc \
-         && $(MAKE) $(AM_MAKEFLAGS) \
-         && $(MAKE) $(AM_MAKEFLAGS) dvi \
-         && $(MAKE) $(AM_MAKEFLAGS) check \
-         && $(MAKE) $(AM_MAKEFLAGS) install \
-         && $(MAKE) $(AM_MAKEFLAGS) installcheck \
-         && $(MAKE) $(AM_MAKEFLAGS) dist
-       -rm -rf $(distdir)
-       @banner="$(distdir).tar.gz is ready for distribution"; \
-       dashes=`echo "$$banner" | sed s/./=/g`; \
-       echo "$$dashes"; \
-       echo "$$banner"; \
-       echo "$$dashes"
+DISTCHECK_CONFIGURE_FLAGS = --enable-gtk-doc --enable-introspection
+
+DISTCLEANFILES = atk.pc