summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gnuradio-core/src/guile/Makefile.am13
-rw-r--r--gr-run-waveform/Makefile.am9
2 files changed, 12 insertions, 10 deletions
diff --git a/gnuradio-core/src/guile/Makefile.am b/gnuradio-core/src/guile/Makefile.am
index a74037ae77..122f05d976 100644
--- a/gnuradio-core/src/guile/Makefile.am
+++ b/gnuradio-core/src/guile/Makefile.am
@@ -28,10 +28,6 @@ EXTRA_DIST += \
$(nobase_guile_DATA) \
$(GUILE_TESTS)
-
-SUBDIRS = example-waveforms
-
-
bin_SCRIPTS = \
gr-run-waveform-script
@@ -74,8 +70,11 @@ 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)
+install-exec-local:
+ -$(RM) $(DESTDIR)$(bindir)/gr-run-waveform
+ (cd $(DESTDIR)$(bindir) && $(LN_S) gr-run-waveform-script gr-run-waveform)
+
+uninstall-local:
+ -$(RM) $(DESTDIR)$(bindir)/gr-run-waveform
endif
diff --git a/gr-run-waveform/Makefile.am b/gr-run-waveform/Makefile.am
index 4313e9ec43..75a05294d7 100644
--- a/gr-run-waveform/Makefile.am
+++ b/gr-run-waveform/Makefile.am
@@ -128,6 +128,9 @@ CLEANFILES = filesystem.dat
# Create a symlink from gr-run-waveform-binary to gr-run-waveform
-install-exec-hook:
- -$(RM) $(bindir)/gr-run-waveform
- (cd $(bindir) && $(LN_S) gr-run-waveform-binary gr-run-waveform)
+install-exec-local:
+ -$(RM) $(DESTDIR)$(bindir)/gr-run-waveform
+ (cd $(DESTDIR)$(bindir) && $(LN_S) gr-run-waveform-binary gr-run-waveform)
+
+uninstall-local:
+ -$(RM) $(DESTDIR)$(bindir)/gr-run-waveform