summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Biebl <biebl@debian.org>2014-07-10 03:33:18 +0200
committerThomas Haller <thaller@redhat.com>2016-01-07 17:41:53 +0100
commit39fc73eed9a2f63638f8736b3f9f9d4e816207db (patch)
tree66151e1078cfbc01eaee20dcddcbed9612aac9a4
parent3b35bf0ad7419c73e2c5b7aa16aa8037566a0e4b (diff)
downloadNetworkManager-39fc73eed9a2f63638f8736b3f9f9d4e816207db.tar.gz
build: use symlinks for nmtui
Make /usr/bin/nmtui-* symbolic links to /usr/bin/nmtui. https://bugzilla.gnome.org/show_bug.cgi?id=759824
-rw-r--r--clients/tui/Makefile.am2
-rw-r--r--configure.ac2
2 files changed, 3 insertions, 1 deletions
diff --git a/clients/tui/Makefile.am b/clients/tui/Makefile.am
index ba2bbcd135..0ce3cc4563 100644
--- a/clients/tui/Makefile.am
+++ b/clients/tui/Makefile.am
@@ -25,7 +25,7 @@ links = nmtui-edit nmtui-connect nmtui-hostname
install-exec-hook:
for link in $(links); do \
- ln -f $(DESTDIR)$(bindir)/nmtui $(DESTDIR)$(bindir)/$$link; \
+ cd $(DESTDIR)$(bindir) && $(LN_S) -f nmtui $$link; \
done
uninstall-hook:
diff --git a/configure.ac b/configure.ac
index 63f2db1aa0..5f21fa1c44 100644
--- a/configure.ac
+++ b/configure.ac
@@ -33,6 +33,8 @@ AM_PROG_CC_C_O
# C++ only required if --enable-qt=yes
AC_PROG_CXX
+AC_PROG_LN_S
+
dnl Initialize libtool
LT_PREREQ([2.2])
LT_INIT([disable-static])