build: install into bin instead of sbin
Installs into bin instead of sbin per guidelines.
Signed-off-by: Patrick Venture <venture@google.com>
Change-Id: Id795cf2e720191e04641a2b12e802407e096ab2d
diff --git a/Makefile.am b/Makefile.am
index da8500a..eb59cdf 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -5,7 +5,7 @@
lpcsnoop.service
endif
-sbin_PROGRAMS = snoopd snooper
+bin_PROGRAMS = snoopd snooper
snoopd_SOURCES = main.cpp
snoopd_LDADD = $(SDBUSPLUS_LIBS) $(SDEVENTPLUS_LIBS) $(PHOSPHOR_DBUS_INTERFACES_LIBS) -lpthread
diff --git a/lpcsnoop.service.in b/lpcsnoop.service.in
index 1f91bcb..da7493d 100644
--- a/lpcsnoop.service.in
+++ b/lpcsnoop.service.in
@@ -4,7 +4,7 @@
[Service]
Restart=always
-ExecStart=@sbindir@/snoopd -d "/dev/@SNOOP_DEVICE@" -b "@POST_CODE_BYTES@"
+ExecStart=@bindir@/snoopd -d "/dev/@SNOOP_DEVICE@" -b "@POST_CODE_BYTES@"
[Install]
WantedBy=@SYSTEMD_TARGET@