summaryrefslogtreecommitdiff
path: root/gnuradio-core/src/guile/Makefile.am
diff options
context:
space:
mode:
Diffstat (limited to 'gnuradio-core/src/guile/Makefile.am')
-rw-r--r--gnuradio-core/src/guile/Makefile.am12
1 files changed, 10 insertions, 2 deletions
diff --git a/gnuradio-core/src/guile/Makefile.am b/gnuradio-core/src/guile/Makefile.am
index b78225f4d..a74037ae7 100644
--- a/gnuradio-core/src/guile/Makefile.am
+++ b/gnuradio-core/src/guile/Makefile.am
@@ -31,6 +31,10 @@ EXTRA_DIST += \
SUBDIRS = example-waveforms
+
+bin_SCRIPTS = \
+ gr-run-waveform-script
+
# These are the hand-coded guile files for gnuradio-core.
#
# Swig/common.scm is glue that's required for the goops wrappers.
@@ -42,10 +46,9 @@ nobase_guile_DATA = \
Swig/common.scm \
gnuradio/core.scm \
gnuradio/export-safely.scm \
+ gnuradio/run-waveform.scm \
gnuradio/runtime-shim.scm \
gnuradio/waveform.scm \
- gnuradio/run-waveform.scm \
- gnuradio/scripts/gr-run-waveform \
gnuradio/test-suite/guile-test \
gnuradio/test-suite/lib.scm
@@ -70,4 +73,9 @@ libguile_gnuradio_dynl_global_la_SOURCES = dynl-global.c
libguile_gnuradio_dynl_global_la_CPPFLAGS = $(GUILE_CFLAGS)
libguile_gnuradio_dynl_global_la_LIBADD = $(GUILE_LIBS)
+# Create a symlink from gr-run-waveform-script to gr-run-waveform
+install-exec-hook:
+ -$(RM) $(bindir)/gr-run-waveform
+ (cd $(bindir) && $(LN_S) gr-run-waveform-script gr-run-waveform)
+
endif