summaryrefslogtreecommitdiff
path: root/demos
diff options
context:
space:
mode:
authorSøren Sandmann <ssp@redhat.com>2013-11-11 19:13:31 -0500
committerSøren Sandmann <ssp@redhat.com>2013-11-11 19:28:30 -0500
commit741007311087be8a711cc9c76ec00e59a156c850 (patch)
tree14b145a8f4c79f3618c7601f97f12e773d853b3a /demos
parent9bab46e9b8df1b061e993546414ed7d69e7b2058 (diff)
downloadpixman-741007311087be8a711cc9c76ec00e59a156c850.tar.gz
demos/Makefile.am: Move EXTRA_DIST outside "if HAVE_GTK"
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
Diffstat (limited to 'demos')
-rw-r--r--demos/Makefile.am4
1 files changed, 2 insertions, 2 deletions
diff --git a/demos/Makefile.am b/demos/Makefile.am
index 9be9ab6..e04743d 100644
--- a/demos/Makefile.am
+++ b/demos/Makefile.am
@@ -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)