summary refs log tree commit diff stats
diff options
context:
space:
mode:
-rw-r--r--src/common/dbus/Makefile.am12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/common/dbus/Makefile.am b/src/common/dbus/Makefile.am
index 4cbbac24..869c283e 100644
--- a/src/common/dbus/Makefile.am
+++ b/src/common/dbus/Makefile.am
@@ -13,7 +13,12 @@ EXTRA_DIST =				\
 BUILT_SOURCES =				\
 	remote-object-glue.h
 
-CLEANFILES = $(BUILT_SOURCES)
+# Dbus service file
+servicedir = $(DBUS_SERVICES_DIR)
+service_in_files = org.hexchat.service.service.in
+service_DATA = $(service_in_files:.service.in=.service)
+
+CLEANFILES = $(BUILT_SOURCES) $(service_DATA)
 
 AM_CPPFLAGS = -I$(top_srcdir)/src/common $(COMMON_CFLAGS) $(DBUS_CFLAGS)
 
@@ -24,11 +29,6 @@ example_LDADD = $(DBUS_LIBS) $(GLIB_LIBS)
 remote-object-glue.h: remote-object.xml
 	$(AM_V_GEN) $(LIBTOOL) --mode=execute $(DBUS_BINDING_TOOL) --prefix=remote_object --mode=glib-server --output=$@ $<
 
-# Dbus service file
-servicedir = $(DBUS_SERVICES_DIR)
-service_in_files = org.hexchat.service.service.in
-service_DATA = $(service_in_files:.service.in=.service)
-
 # Rule to make the service file with bindir expanded
 $(service_DATA): $(service_in_files) Makefile
 	@sed -e "s|\@bindir\@|$(bindir)|" $< > $@