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.
This commit is contained in:
Ryan Lortie 2015-03-01 00:47:17 -05:00
parent 8bbeb6fd2f
commit 71642ce766

View File

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