From 36d564526cb74c5d8db32c71727dbfd370200595 Mon Sep 17 00:00:00 2001 From: Vincent Untz Date: Thu, 15 Sep 2011 13:43:01 +0200 Subject: [PATCH] build: Fix rule to create .service files It was always taking the first .service.in file to create all .service files: org.gnome.Shell.CalendarServer.service.in was the only one being used. https://bugzilla.gnome.org/show_bug.cgi?id=659194 --- src/Makefile.am | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Makefile.am b/src/Makefile.am index 11449eac5..d19f0fe90 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -19,7 +19,7 @@ typelib_DATA = $(INTROSPECTION_GIRS:.gir=.typelib) servicedir = $(datadir)/dbus-1/services service_DATA = $(service_in_files:.service.in=.service) -$(service_DATA): $(service_in_files) Makefile +%.service: %.service.in Makefile $(AM_V_GEN) \ [ -d $(@D) ] || $(mkdir_p) $(@D) ; \ sed -e "s|\@libexecdir\@|$(libexecdir)|" $< > $@.tmp && mv $@.tmp $@