demos/Makefile.am: Move EXTRA_DIST outside "if HAVE_GTK"
authorSøren Sandmann <ssp@redhat.com>
Tue, 12 Nov 2013 00:13:31 +0000 (19:13 -0500)
committerSøren Sandmann <ssp@redhat.com>
Tue, 12 Nov 2013 00:28:30 +0000 (19:28 -0500)
Without this, if tarballs are generated on a system that doesn't have
GTK+ 2 development headers available, the files in EXTRA_DIST will not
be included, which then causes builds from the tarball to fail on
systems that do have GTK+ 2 headers available.

Fixes https://bugs.freedesktop.org/show_bug.cgi?id=71465

demos/Makefile.am

index 9be9ab6..e04743d 100644 (file)
@@ -1,3 +1,5 @@
+EXTRA_DIST = parrot.c parrot.jpg scale.ui
+
 if HAVE_GTK
 
 AM_CFLAGS = $(OPENMP_CFLAGS)
@@ -28,8 +30,6 @@ DEMOS =                               \
        srgb-test               \
        scale
 
-EXTRA_DIST = parrot.c parrot.jpg scale.ui
-
 gradient_test_SOURCES = gradient-test.c $(GTK_UTILS)
 alpha_test_SOURCES = alpha-test.c $(GTK_UTILS)
 composite_test_SOURCES = composite-test.c $(GTK_UTILS)