summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--tests/proptest/Makefile.am5
1 files changed, 5 insertions, 0 deletions
diff --git a/tests/proptest/Makefile.am b/tests/proptest/Makefile.am
index 48a84c1e..0594e02e 100644
--- a/tests/proptest/Makefile.am
+++ b/tests/proptest/Makefile.am
@@ -3,8 +3,13 @@ AM_CFLAGS = \
-I$(top_srcdir)/include/drm \
-I$(top_srcdir)
+if HAVE_INSTALL_TESTS
+bin_PROGRAMS = \
+ proptest
+else
noinst_PROGRAMS = \
proptest
+endif
proptest_SOURCES = \
proptest.c