mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2026-05-07 11:58:12 +02: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:
|
install-exec-hook:
|
||||||
for link in $(links); do \
|
for link in $(links); do \
|
||||||
ln -f $(DESTDIR)$(bindir)/nmtui $(DESTDIR)$(bindir)/$$link; \
|
cd $(DESTDIR)$(bindir) && $(LN_S) -f nmtui $$link; \
|
||||||
done
|
done
|
||||||
|
|
||||||
uninstall-hook:
|
uninstall-hook:
|
||||||
|
|
|
||||||
|
|
@ -33,6 +33,8 @@ AM_PROG_CC_C_O
|
||||||
# C++ only required if --enable-qt=yes
|
# C++ only required if --enable-qt=yes
|
||||||
AC_PROG_CXX
|
AC_PROG_CXX
|
||||||
|
|
||||||
|
AC_PROG_LN_S
|
||||||
|
|
||||||
dnl Initialize libtool
|
dnl Initialize libtool
|
||||||
LT_PREREQ([2.2])
|
LT_PREREQ([2.2])
|
||||||
LT_INIT([disable-static])
|
LT_INIT([disable-static])
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue