Commit b567db32bb1ee6a2d0b9a10c8320c403dcadfd53

Authored by knodlseder
1 parent 3816f91e

make scripts executable

Showing 1 changed file with 8 additions and 0 deletions
examples/Makefile.am
@@ -14,3 +14,11 @@ scripts_DATA = $(scripts) @@ -14,3 +14,11 @@ scripts_DATA = $(scripts)
14 14
15 # Extra files to be distributed in the tar file 15 # Extra files to be distributed in the tar file
16 EXTRA_DIST = $(scripts) 16 EXTRA_DIST = $(scripts)
  17 +
  18 +# Add hook rule to make the examples executable
  19 +install-data-hook:
  20 + @list='$(scripts)';\
  21 + for p in $$list; do \
  22 + chmod +x "$(DESTDIR)$(scriptsdir)/$$p"; \
  23 + done
  24 +