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.
This commit is contained in:
3
.gitignore
vendored
3
.gitignore
vendored
@@ -217,9 +217,6 @@ valgrind-*.log
|
|||||||
|
|
||||||
/tui/newt/libnmt-newt.a
|
/tui/newt/libnmt-newt.a
|
||||||
/tui/nmtui
|
/tui/nmtui
|
||||||
/tui/nmtui-connect
|
|
||||||
/tui/nmtui-edit
|
|
||||||
/tui/nmtui-hostname
|
|
||||||
|
|
||||||
/tools/generate-settings-spec
|
/tools/generate-settings-spec
|
||||||
|
|
||||||
|
@@ -18,18 +18,15 @@ AM_CPPFLAGS= \
|
|||||||
$(NULL)
|
$(NULL)
|
||||||
|
|
||||||
bin_PROGRAMS = nmtui
|
bin_PROGRAMS = nmtui
|
||||||
noinst_SCRIPTS = nmtui-edit nmtui-connect nmtui-hostname
|
links = nmtui-edit nmtui-connect nmtui-hostname
|
||||||
|
|
||||||
$(noinst_SCRIPTS):
|
|
||||||
ln -s nmtui $@
|
|
||||||
|
|
||||||
install-exec-hook:
|
install-exec-hook:
|
||||||
for link in $(noinst_SCRIPTS); do \
|
for link in $(links); do \
|
||||||
ln -f $(DESTDIR)$(bindir)/nmtui $(DESTDIR)$(bindir)/$$link; \
|
ln -f $(DESTDIR)$(bindir)/nmtui $(DESTDIR)$(bindir)/$$link; \
|
||||||
done
|
done
|
||||||
|
|
||||||
uninstall-hook:
|
uninstall-hook:
|
||||||
for link in $(noinst_SCRIPTS); do \
|
for link in $(links); do \
|
||||||
rm -f $(DESTDIR)$(bindir)/$$link; \
|
rm -f $(DESTDIR)$(bindir)/$$link; \
|
||||||
done
|
done
|
||||||
|
|
||||||
@@ -126,6 +123,4 @@ nmtui_LDADD = \
|
|||||||
$(GLIB_LIBS) \
|
$(GLIB_LIBS) \
|
||||||
$(NULL)
|
$(NULL)
|
||||||
|
|
||||||
CLEANFILES = $(noinst_SCRIPTS)
|
|
||||||
|
|
||||||
endif
|
endif
|
||||||
|
Reference in New Issue
Block a user