proptest: install it with --enable-install-test-programs

--enable-install-test-programs allows tests to be installed in $bindir.
This is disabled by default, but very useful when cross compiling.

Signed-off-by: Daniel Kurtz <djkurtz@chromium.org>
Reviewed-by: Emil Velikov <emil.l.velikov@gmail.com>
main
Daniel Kurtz 2015-03-06 16:54:40 +08:00 committed by Emil Velikov
parent d9b6a69252
commit 292b5100e5
1 changed files with 5 additions and 0 deletions

View File

@ -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