Skip to content

Commit

Permalink
dbus: correct replacing of libexecdir in the service file
Browse files Browse the repository at this point in the history
Signed-off-by: Jakub Filak <[email protected]>
  • Loading branch information
Jakub Filak committed Apr 25, 2016
1 parent 09b6942 commit 1472e2d
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 2 deletions.
1 change: 0 additions & 1 deletion configure.ac
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,6 @@ AC_CONFIG_FILES([
Makefile
po/Makefile.in
dbus/Makefile
dbus/org.freedesktop.reportd.service
service/Makefile
])
AC_OUTPUT
4 changes: 4 additions & 0 deletions dbus/Makefile.am
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,10 @@ $(DBUS_GENERATED): org.freedesktop.reportd.xml
--generate-c-code report-dbus-generated \
--c-namespace ReportDbus $<

org.freedesktop.reportd.service: org.freedesktop.reportd.service.in
@sed -e "s|\@libexecdir\@|$(libexecdir)|g" \
$< >$@

EXTRA_DIST = \
$(DBUS_XML_DEFINITIONS) \
$(service_in_files) \
Expand Down
2 changes: 1 addition & 1 deletion dbus/org.freedesktop.reportd.service.in
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
[D-BUS Service]
Name=org.freedesktop.reportd
Exec=@libexec@/reportd
Exec=@libexecdir@/reportd

0 comments on commit 1472e2d

Please sign in to comment.