Visual Studio Builds: "Install" gdbus-codegen
[platform/upstream/glib.git] / Makefile.am
index f5c510d..b2555ad 100644 (file)
@@ -6,11 +6,20 @@ include $(top_srcdir)/Makefile.decl
 
 ACLOCAL_AMFLAGS = -I m4macros ${ACLOCAL_FLAGS}
 
-SUBDIRS = . m4macros glib gmodule gthread gobject gio tests po docs
+SUBDIRS = . m4macros glib gmodule gthread gobject gio po docs
 DIST_SUBDIRS = $(SUBDIRS) build
+if BUILD_MODULAR_TESTS
+SUBDIRS += tests 
+else
+DIST_SUBDIRS += tests
+endif
 
 bin_SCRIPTS = glib-gettextize
 
+if OS_LINUX
+TESTS = check-abis.sh
+endif
+
 AM_CPPFLAGS =                                  \
        -DG_LOG_DOMAIN=g_log_domain_glib        \
        @GLIB_DEBUG_FLAGS@                      \
@@ -41,7 +50,6 @@ EXTRA_DIST +=                         \
        HACKING                 \
        autogen.sh              \
        Makefile.decl           \
-       mkinstalldirs           \
        makefile.msc            \
        msvc_recommended_pragmas.h \
        config.h.win32.in       \
@@ -54,7 +62,8 @@ EXTRA_DIST +=                         \
        gthread-2.0.pc.in       \
        gio-2.0.pc.in           \
        gio-unix-2.0.pc.in      \
-       gio-windows-2.0.pc.in
+       gio-windows-2.0.pc.in   \
+       check-abis.sh
 
 
 # These may be in the builddir too
@@ -93,10 +102,6 @@ endif
 
 $(pkgconfig_DATA): config.status
 
-# install mkinstalldirs for glib-gettextize's benefit
-gettextdir = $(datadir)/glib-2.0/gettext
-gettext_SCRIPTS = mkinstalldirs
-
 # build documentation when doing distcheck
 DISTCHECK_CONFIGURE_FLAGS = --enable-debug --enable-gtk-doc --enable-man --disable-maintainer-mode