summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEric Blossom2010-12-30 11:58:35 -0800
committerEric Blossom2010-12-30 16:01:45 -0800
commit48bd82280404c47a611cb5c852054f34e6ddb4f3 (patch)
treeea35bf41ee6a0d18df95abb49f1ae8d93a382779
parentc744baf8140be7a2df5d34c972edfbfa81fe46f4 (diff)
downloadgnuradio-48bd82280404c47a611cb5c852054f34e6ddb4f3.tar.gz
gnuradio-48bd82280404c47a611cb5c852054f34e6ddb4f3.tar.bz2
gnuradio-48bd82280404c47a611cb5c852054f34e6ddb4f3.zip
Add symlink to gr-run-waveform when installing gr-run-waveform-binary.
-rw-r--r--gr-run-waveform/Makefile.am6
-rw-r--r--gr-run-waveform/configure.ac1
2 files changed, 7 insertions, 0 deletions
diff --git a/gr-run-waveform/Makefile.am b/gr-run-waveform/Makefile.am
index 903ab2246..4313e9ec4 100644
--- a/gr-run-waveform/Makefile.am
+++ b/gr-run-waveform/Makefile.am
@@ -125,3 +125,9 @@ filesystem.dat:
$(PYTHON) $(srcdir)/gen-xyzzy $(GUILE_INSTALL_PATH) $(datarootdir)/guile/site > filesystem.dat
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)
diff --git a/gr-run-waveform/configure.ac b/gr-run-waveform/configure.ac
index ea7a06128..288c7bd1d 100644
--- a/gr-run-waveform/configure.ac
+++ b/gr-run-waveform/configure.ac
@@ -35,6 +35,7 @@ dnl AC_CANONICAL_TARGET
dnl Find the the C++ compiler
AC_PROG_CXX
AM_PROG_CC_C_O
+AC_PROG_LN_S
GR_LIB64 dnl check for lib64 suffix after choosing compilers