summaryrefslogtreecommitdiff
path: root/gnuradio-examples/python/Makefile.am
diff options
context:
space:
mode:
Diffstat (limited to 'gnuradio-examples/python/Makefile.am')
-rw-r--r--gnuradio-examples/python/Makefile.am24
1 files changed, 22 insertions, 2 deletions
diff --git a/gnuradio-examples/python/Makefile.am b/gnuradio-examples/python/Makefile.am
index de576770f9..c9db48d6ab 100644
--- a/gnuradio-examples/python/Makefile.am
+++ b/gnuradio-examples/python/Makefile.am
@@ -19,5 +19,25 @@
# Boston, MA 02110-1301, USA.
#
-SUBDIRS = apps audio channel-coding digital_voice digital multi-antenna \
- multi_usrp networking usrp hier ofdm
+include $(top_srcdir)/Makefile.common
+
+SUBDIRS = \
+ apps \
+ audio \
+ digital_voice \
+ digital \
+ multi-antenna \
+ multi_usrp \
+ networking \
+ usrp \
+ hier \
+ ofdm
+
+# Make example scripts with #! executable
+install-data-local:
+ for i in `find $(exampledir) -type f ! -perm 755`; do \
+ if head -1 $$i | grep -q '^#!'; then \
+ chmod 755 $$i; \
+ echo "made executable: $$i"; \
+ fi; \
+ done