[glib] tests: only chmod autorun.exe on UNIX
- From: Ryan Lortie <desrt src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [glib] tests: only chmod autorun.exe on UNIX
- Date: Sun, 1 Mar 2015 05:50:32 +0000 (UTC)
commit 71642ce766d73bb06f2cd33b4f585bafff315c7d
Author: Ryan Lortie <desrt desrt ca>
Date: Sun Mar 1 00:47:17 2015 -0500
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 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/gio/tests/Makefile.am b/gio/tests/Makefile.am
index 5817d18..3e873bb 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
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]