summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Haller <thaller@redhat.com>2016-11-21 00:35:32 +0100
committerThomas Haller <thaller@redhat.com>2016-11-21 14:07:47 +0100
commit8c7f5e2653dcffff5f8248501192a9f54dc45ae1 (patch)
tree5d979141b4a74b2702cebdfc7806cbe02e3dba53
parent2603b016844a238ed4e38189b9368396956a22b2 (diff)
downloadNetworkManager-8c7f5e2653dcffff5f8248501192a9f54dc45ae1.tar.gz
build: rename "src/dnsmasq-manager" to "src/dnsmasq"
The dnsmasq directory does not only contain the manager instance, but various files related to dnsmasq. Rename.
-rw-r--r--.gitignore3
-rw-r--r--Makefile.am18
-rw-r--r--src/dnsmasq/nm-dnsmasq-manager.c (renamed from src/dnsmasq-manager/nm-dnsmasq-manager.c)0
-rw-r--r--src/dnsmasq/nm-dnsmasq-manager.h (renamed from src/dnsmasq-manager/nm-dnsmasq-manager.h)0
-rw-r--r--src/dnsmasq/nm-dnsmasq-utils.c (renamed from src/dnsmasq-manager/nm-dnsmasq-utils.c)0
-rw-r--r--src/dnsmasq/nm-dnsmasq-utils.h (renamed from src/dnsmasq-manager/nm-dnsmasq-utils.h)0
-rw-r--r--src/dnsmasq/tests/test-dnsmasq-utils.c (renamed from src/dnsmasq-manager/tests/test-dnsmasq-utils.c)2
7 files changed, 12 insertions, 11 deletions
diff --git a/.gitignore b/.gitignore
index b2fb349262..ca09ef22e9 100644
--- a/.gitignore
+++ b/.gitignore
@@ -246,7 +246,7 @@ test-*.trs
/src/dhcp/tests/test-dhcp-dhclient
/src/dhcp/tests/test-dhcp-options
/src/dhcp/tests/test-dhcp-utils
-/src/dnsmasq-manager/tests/test-dnsmasq-utils
+/src/dnsmasq/tests/test-dnsmasq-utils
/src/nm-iface-helper
/src/ndisc/tests/test-ndisc-fake
/src/ndisc/tests/test-ndisc-linux
@@ -292,6 +292,7 @@ test-*.trs
/src/dhcp-manager/tests/test-dhcp-dhclient
/src/dhcp-manager/tests/test-dhcp-options
/src/dhcp-manager/tests/test-dhcp-utils
+/src/dnsmasq-manager/tests/test-dnsmasq-utils
/src/rdisc/
/src/settings/plugins/ifcfg-rh/tests/test-ifcfg-rh-utils
/src/settings/plugins/ifnet/tests/check_ifnet
diff --git a/Makefile.am b/Makefile.am
index 6f202bd3fd..cac41b2047 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -953,7 +953,7 @@ src_cppflags = \
-I$(top_srcdir)/src/devices \
-I$(top_srcdir)/src/dhcp \
-I$(top_srcdir)/src/dns \
- -I$(top_srcdir)/src/dnsmasq-manager \
+ -I$(top_srcdir)/src/dnsmasq \
-I$(top_srcdir)/src/platform \
-I$(top_srcdir)/src/platform/wifi \
-I$(top_srcdir)/src/ppp-manager \
@@ -1310,10 +1310,10 @@ src_libNetworkManager_la_SOURCES = \
src/dns/nm-dns-plugin.c \
src/dns/nm-dns-plugin.h \
\
- src/dnsmasq-manager/nm-dnsmasq-manager.c \
- src/dnsmasq-manager/nm-dnsmasq-manager.h \
- src/dnsmasq-manager/nm-dnsmasq-utils.c \
- src/dnsmasq-manager/nm-dnsmasq-utils.h \
+ src/dnsmasq/nm-dnsmasq-manager.c \
+ src/dnsmasq/nm-dnsmasq-manager.h \
+ src/dnsmasq/nm-dnsmasq-utils.c \
+ src/dnsmasq/nm-dnsmasq-utils.h \
\
src/ppp-manager/nm-ppp-manager.c \
src/ppp-manager/nm-ppp-manager.h \
@@ -2553,16 +2553,16 @@ check_local += check-local-devices-team
endif
###############################################################################
-# src/dnsmasq-manager/tests
+# src/dnsmasq/tests
###############################################################################
-check_programs += src/dnsmasq-manager/tests/test-dnsmasq-utils
+check_programs += src/dnsmasq/tests/test-dnsmasq-utils
-src_dnsmasq_manager_tests_test_dnsmasq_utils_CPPFLAGS = \
+src_dnsmasq_tests_test_dnsmasq_utils_CPPFLAGS = \
$(src_tests_cppflags) \
-DTESTDIR="\"$(abs_srcdir)\""
-src_dnsmasq_manager_tests_test_dnsmasq_utils_LDADD = \
+src_dnsmasq_tests_test_dnsmasq_utils_LDADD = \
src/libNetworkManagerTest.la
###############################################################################
diff --git a/src/dnsmasq-manager/nm-dnsmasq-manager.c b/src/dnsmasq/nm-dnsmasq-manager.c
index 9b24e69ebf..9b24e69ebf 100644
--- a/src/dnsmasq-manager/nm-dnsmasq-manager.c
+++ b/src/dnsmasq/nm-dnsmasq-manager.c
diff --git a/src/dnsmasq-manager/nm-dnsmasq-manager.h b/src/dnsmasq/nm-dnsmasq-manager.h
index a0ad295cd4..a0ad295cd4 100644
--- a/src/dnsmasq-manager/nm-dnsmasq-manager.h
+++ b/src/dnsmasq/nm-dnsmasq-manager.h
diff --git a/src/dnsmasq-manager/nm-dnsmasq-utils.c b/src/dnsmasq/nm-dnsmasq-utils.c
index 3786f37d44..3786f37d44 100644
--- a/src/dnsmasq-manager/nm-dnsmasq-utils.c
+++ b/src/dnsmasq/nm-dnsmasq-utils.c
diff --git a/src/dnsmasq-manager/nm-dnsmasq-utils.h b/src/dnsmasq/nm-dnsmasq-utils.h
index 459dda0475..459dda0475 100644
--- a/src/dnsmasq-manager/nm-dnsmasq-utils.h
+++ b/src/dnsmasq/nm-dnsmasq-utils.h
diff --git a/src/dnsmasq-manager/tests/test-dnsmasq-utils.c b/src/dnsmasq/tests/test-dnsmasq-utils.c
index 92f32de87f..a826abaf30 100644
--- a/src/dnsmasq-manager/tests/test-dnsmasq-utils.c
+++ b/src/dnsmasq/tests/test-dnsmasq-utils.c
@@ -92,7 +92,7 @@ main (int argc, char **argv)
{
nmtst_init_assert_logging (&argc, &argv, "INFO", "DEFAULT");
- g_test_add_func ("/dnsmasq-manager/address-ranges", test_address_ranges);
+ g_test_add_func ("/dnsmasq/address-ranges", test_address_ranges);
return g_test_run ();
}