about summary refs log tree commit diff
path: root/clients/tui/Makefile.am
diff options
context:
space:
mode:
Diffstat (limited to 'clients/tui/Makefile.am')
-rw-r--r--clients/tui/Makefile.am10
1 files changed, 4 insertions, 6 deletions
diff --git a/clients/tui/Makefile.am b/clients/tui/Makefile.am
index a84fcdff..caf792ee 100644
--- a/clients/tui/Makefile.am
+++ b/clients/tui/Makefile.am
@@ -4,8 +4,8 @@ SUBDIRS = newt .
 
 AM_CPPFLAGS= \
 	-I$(top_srcdir) \
-	-I$(top_srcdir)/include \
-	-I$(top_builddir)/include \
+	-I$(top_srcdir)/shared \
+	-I$(top_builddir)/shared \
 	-I$(top_srcdir)/libnm-core \
 	-I$(top_builddir)/libnm-core \
 	-I$(top_srcdir)/libnm \
@@ -18,8 +18,6 @@ AM_CPPFLAGS= \
 	-DG_LOG_DOMAIN=\""nmtui"\" \
 	-DNM_VERSION_MAX_ALLOWED=NM_VERSION_NEXT_STABLE \
 	-DLOCALEDIR=\""$(localedir)"\" \
-	-DNMCONFDIR=\"$(nmconfdir)\" \
-	-DNMLIBDIR=\"$(libdir)\" \
 	$(NULL)
 
 bin_PROGRAMS = nmtui
@@ -27,12 +25,12 @@ links = nmtui-edit nmtui-connect nmtui-hostname
 
 install-exec-hook:
 	for link in $(links); do \
-		ln -f $(DESTDIR)$(bindir)/nmtui $(DESTDIR)$(bindir)/$$link; \
+		$(LN_S) -f nmtui "$(DESTDIR)$(bindir)/$$link"; \
 	done
 
 uninstall-hook:
 	for link in $(links); do \
-		rm -f $(DESTDIR)$(bindir)/$$link; \
+		rm -f "$(DESTDIR)$(bindir)/$$link"; \
 	done
 
 nmtui_SOURCES = \