summary refs log tree commit diff stats
path: root/src/common/dbus/Makefile.am
diff options
context:
space:
mode:
authorMattia Rizzolo <mattia@debian.org>2016-12-01 18:27:58 +0100
committerTingPing <tingping@tingping.se>2016-12-01 18:20:48 -0500
commitf2d93f5abe0201c4528b07985841dab383d3d844 (patch)
tree2da7fdd93c1d5d0348ea5875279b3ccfaf519f9c /src/common/dbus/Makefile.am
parent9ab03c5d2311898ee27721ae2a448a277a30f077 (diff)
properly clean the autogenerated org.hexchat.service.service
Diffstat (limited to 'src/common/dbus/Makefile.am')
-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)|" $< > $@