mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2026-04-30 14:30:49 +02:00
tui: fix the build so we don't install libtool wrapper scripts
The nmtui development tree didn't use libtool, and the rules that worked to install links in those Makefiles ended up causing the libtool wrapper scripts to get installed here. Fix.
This commit is contained in:
parent
14227fda8b
commit
250ed1a7dd
1 changed files with 15 additions and 5 deletions
|
|
@ -18,7 +18,20 @@ AM_CPPFLAGS= \
|
|||
$(NULL)
|
||||
|
||||
bin_PROGRAMS = nmtui
|
||||
bin_SCRIPTS = nmtui-edit nmtui-connect nmtui-hostname
|
||||
noinst_SCRIPTS = nmtui-edit nmtui-connect nmtui-hostname
|
||||
|
||||
$(noinst_SCRIPTS):
|
||||
ln -s nmtui $@
|
||||
|
||||
install-exec-hook:
|
||||
for link in $(noinst_SCRIPTS); do \
|
||||
ln -f $(DESTDIR)$(bindir)/nmtui $(DESTDIR)$(bindir)/$$link; \
|
||||
done
|
||||
|
||||
uninstall-hook:
|
||||
for link in $(noinst_SCRIPTS); do \
|
||||
rm -f $(DESTDIR)$(bindir)/$$link; \
|
||||
done
|
||||
|
||||
nmtui_SOURCES = \
|
||||
nmtui.c \
|
||||
|
|
@ -114,9 +127,6 @@ nmtui_LDADD = \
|
|||
$(GLIB_LIBS) \
|
||||
$(NULL)
|
||||
|
||||
$(bin_SCRIPTS):
|
||||
ln -s nmtui $@
|
||||
|
||||
CLEANFILES = $(bin_SCRIPTS)
|
||||
CLEANFILES = $(noinst_SCRIPTS)
|
||||
|
||||
endif
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue