mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2026-05-08 21:48:08 +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
This commit is contained in:
parent
3b35bf0ad7
commit
39fc73eed9
2 changed files with 3 additions and 1 deletions
|
|
@ -25,7 +25,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