All files listed in a *_SOURCE directive are automatically
distributed, so listing them explicitly is pointless.
This makes DAEMON_SOURCES unnecessary, so we can drop it
and list source files in libvirt_dbus_SOURCES directly
instead.
Signed-off-by: Andrea Bolognani <abologna(a)redhat.com>
---
src/Makefile.am | 11 +++--------
1 file changed, 3 insertions(+), 8 deletions(-)
diff --git a/src/Makefile.am b/src/Makefile.am
index 4662348..688dfb5 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -2,7 +2,9 @@ AM_CPPFLAGS = \
-I$(top_srcdir)/src \
-DVIRT_DBUS_INTERFACES_DIR=\"$(DBUS_INTERFACES_DIR)\"
-DAEMON_SOURCES = \
+bin_PROGRAMS = libvirt-dbus
+
+libvirt_dbus_SOURCES = \
main.c \
connect.c connect.h \
util.c util.h \
@@ -17,13 +19,6 @@ DAEMON_SOURCES = \
storagevol.c storagevol.h \
$(NULL)
-EXTRA_DIST = \
- $(DAEMON_SOURCES)
-
-bin_PROGRAMS = libvirt-dbus
-
-libvirt_dbus_SOURCES = $(DAEMON_SOURCES)
-
libvirt_dbus_CFLAGS = \
$(GIO2_CFLAGS) \
$(GLIB2_CFLAGS) \
--
2.17.1