summaryrefslogtreecommitdiffstats
path: root/input
diff options
context:
space:
mode:
Diffstat (limited to 'input')
-rw-r--r--input/Makefile.am10
1 files changed, 9 insertions, 1 deletions
diff --git a/input/Makefile.am b/input/Makefile.am
index 7716bec6..6aa8ef1b 100644
--- a/input/Makefile.am
+++ b/input/Makefile.am
@@ -1,7 +1,14 @@
+if INPUTSERVICE
+if CONFIGFILES
+confdir = $(sysconfdir)/bluetooth
+
+conf_DATA = input.service
+endif
+
servicedir = $(libdir)/bluetooth
-noinst_PROGRAMS = bluetoothd-service-input
+service_PROGRAMS = bluetoothd-service-input
bluetoothd_service_input_SOURCES = \
main.c server.h server.c \
@@ -9,6 +16,7 @@ bluetoothd_service_input_SOURCES = \
LDADD = $(top_builddir)/common/libhelper.a \
@GLIB_LIBS@ @DBUS_LIBS@ @BLUEZ_LIBS@
+endif
AM_CFLAGS = @BLUEZ_CFLAGS@ @DBUS_CFLAGS@ @GLIB_CFLAGS@