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