diff options
Diffstat (limited to 'gr-atsc/src')
-rw-r--r-- | gr-atsc/src/python/Makefile.am | 24 |
1 files changed, 23 insertions, 1 deletions
diff --git a/gr-atsc/src/python/Makefile.am b/gr-atsc/src/python/Makefile.am index 952bfddb5..ffc7780df 100644 --- a/gr-atsc/src/python/Makefile.am +++ b/gr-atsc/src/python/Makefile.am @@ -21,7 +21,20 @@ include $(top_srcdir)/Makefile.common -EXTRA_DIST = run_tests.in +EXAMPLE_FILES = \ + README \ + btl-fsd.py \ + fpll.py \ + interp.py \ + xlate.py \ + viterbi-out.py + + +EXTRA_DIST = run_tests.in \ + $(EXAMPLE_FILES) + +ourdatadir = $(exampledir)/atsc +ourdata_DATA = $(EXAMPLE_FILES) TESTS = \ @@ -31,3 +44,12 @@ TESTS = \ noinst_PYTHON = \ atsc_utils.py \ qa_atsc.py + +# Make example scripts with #! executable +install-data-local: + for i in `find $(ourdatadir) -type f ! -perm 755`; do \ + if head -1 $$i | grep -q '^#!'; then \ + chmod 755 $$i; \ + echo "made executable: $$i"; \ + fi; \ + done |