From b567db32bb1ee6a2d0b9a10c8320c403dcadfd53 Mon Sep 17 00:00:00 2001 From: knodlseder <> Date: Wed, 3 Aug 2011 19:13:08 +0000 Subject: [PATCH] make scripts executable --- examples/Makefile.am | 8 ++++++++ 1 file changed, 8 insertions(+), 0 deletions(-) diff --git a/examples/Makefile.am b/examples/Makefile.am index 1d0872d..eae0bb3 100644 --- a/examples/Makefile.am +++ b/examples/Makefile.am @@ -14,3 +14,11 @@ scripts_DATA = $(scripts) # Extra files to be distributed in the tar file EXTRA_DIST = $(scripts) + +# Add hook rule to make the examples executable +install-data-hook: + @list='$(scripts)';\ + for p in $$list; do \ + chmod +x "$(DESTDIR)$(scriptsdir)/$$p"; \ + done + -- libgit2 0.21.4