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:
Michael Biebl 2014-07-10 03:33:18 +02:00 committed by Thomas Haller
parent 3b35bf0ad7
commit 39fc73eed9
2 changed files with 3 additions and 1 deletions

View file

@ -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:

View file

@ -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])