From 50b229ba6641cfd79bc2d3bd2da3df78c1de480a Mon Sep 17 00:00:00 2001 From: knodlseder <> Date: Wed, 27 Jul 2011 18:21:18 +0000 Subject: [PATCH] initial version --- examples/Makefile.am | 3 +++ scripts/Makefile.am | 21 +++++++++++++++++++++ 2 files changed, 24 insertions(+), 0 deletions(-) create mode 100644 examples/Makefile.am create mode 100644 scripts/Makefile.am diff --git a/examples/Makefile.am b/examples/Makefile.am new file mode 100644 index 0000000..8394010 --- /dev/null +++ b/examples/Makefile.am @@ -0,0 +1,3 @@ +## Process this file with automake to produce Makefile.in + +# Examples diff --git a/scripts/Makefile.am b/scripts/Makefile.am new file mode 100644 index 0000000..c2d4767 --- /dev/null +++ b/scripts/Makefile.am @@ -0,0 +1,21 @@ +## Process this file with automake to produce Makefile.in + +# Scripts to be distributed in bindir +binscripts = + +# Scripts to be distributed in pythondir +pythonscripts = ctautils.py + +# Distribute scripts +EXTRA_DIST = $(binscripts) $(pythonscripts) +binscriptsdir = $(bindir) +binscripts_DATA = $(binscripts) +pythonscriptsdir = $(pythondir) +pythonscripts_DATA = $(pythonscripts) + +# Add hook rule to make binscripts executable +install-data-hook: + @list='$(binscripts_DATA)';\ + for p in $$list; do \ + if test -f "$$p"; then chmod +x "$(DESTDIR)$(binscriptsdir)/$$p"; fi; \ + done -- libgit2 0.21.4