From 71642ce766d73bb06f2cd33b4f585bafff315c7d Mon Sep 17 00:00:00 2001 From: Ryan Lortie Date: Sun, 1 Mar 2015 00:47:17 -0500 Subject: [PATCH] tests: only chmod autorun.exe on UNIX We install win32-software/autorun.exe (as test data for mime scanning) only on UNIX builds, so don't attempt to chmod it on 'make install' unless we're on UNIX. --- gio/tests/Makefile.am | 2 ++ 1 file changed, 2 insertions(+) diff --git a/gio/tests/Makefile.am b/gio/tests/Makefile.am index 5817d182f..3e873bb65 100644 --- a/gio/tests/Makefile.am +++ b/gio/tests/Makefile.am @@ -557,6 +557,8 @@ giotypefuncs.c: Makefile CLEANFILES += xgen-giosrc.c xgen-gio giotypefuncs.c if ENABLE_INSTALLED_TESTS +if OS_UNIX install-data-hook: $(AM_V_at) chmod a+x $(DESTDIR)$(installed_testdir)/x-content/win32-software/autorun.exe endif +endif