summaryrefslogtreecommitdiff
path: root/tui
diff options
context:
space:
mode:
authorDan Winship <danw@gnome.org>2013-12-18 13:05:30 -0500
committerDan Winship <danw@gnome.org>2014-01-16 09:19:06 -0500
commit9c8845c35df1b63634ed49343844b4e537992dea (patch)
treeb42036b750992a6b52f98ac819bff3c5e39c467f /tui
parent8c12177f780a2ded5c4dff2b39d84a55a4ac2317 (diff)
downloadNetworkManager-9c8845c35df1b63634ed49343844b4e537992dea.tar.gz
tui: don't bother making links (nmtui-edit, etc) in build tree
They end up not working right from the build tree anyway, because the nmtui libtool wrapper doesn't pass its argv[0] on to the actual binary.
Diffstat (limited to 'tui')
-rw-r--r--tui/Makefile.am11
1 files changed, 3 insertions, 8 deletions
diff --git a/tui/Makefile.am b/tui/Makefile.am
index 797597a7b2..e986367a32 100644
--- a/tui/Makefile.am
+++ b/tui/Makefile.am
@@ -18,18 +18,15 @@ AM_CPPFLAGS= \
$(NULL)
bin_PROGRAMS = nmtui
-noinst_SCRIPTS = nmtui-edit nmtui-connect nmtui-hostname
-
-$(noinst_SCRIPTS):
- ln -s nmtui $@
+links = nmtui-edit nmtui-connect nmtui-hostname
install-exec-hook:
- for link in $(noinst_SCRIPTS); do \
+ for link in $(links); do \
ln -f $(DESTDIR)$(bindir)/nmtui $(DESTDIR)$(bindir)/$$link; \
done
uninstall-hook:
- for link in $(noinst_SCRIPTS); do \
+ for link in $(links); do \
rm -f $(DESTDIR)$(bindir)/$$link; \
done
@@ -126,6 +123,4 @@ nmtui_LDADD = \
$(GLIB_LIBS) \
$(NULL)
-CLEANFILES = $(noinst_SCRIPTS)
-
endif