mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2025-12-26 21:40:08 +01:00
build: use symlinks for nmtui
Make /usr/bin/nmtui-* symbolic links to /usr/bin/nmtui.
https://bugzilla.gnome.org/show_bug.cgi?id=759824
(cherry picked from commit 39fc73eed9)
This commit is contained in:
parent
a213db5113
commit
c96b1ca343
2 changed files with 3 additions and 1 deletions
|
|
@ -27,7 +27,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:
|
||||
|
|
|
|||
|
|
@ -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])
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue