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: I506628bb9930c6930284f4183d492080e79dd5f0
diff --git a/Makefile.am b/Makefile.am
index 9efb6d4..6c540f7 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -3,7 +3,7 @@
systemdsystemunit_DATA = \
pcie-poweroff@.service
-sbin_PROGRAMS = \
+bin_PROGRAMS = \
openpower-proc-control
openpower_proc_control_SOURCES = \
diff --git a/pcie-poweroff@.service.in b/pcie-poweroff@.service.in
index f1d6bbc..5f0403a 100644
--- a/pcie-poweroff@.service.in
+++ b/pcie-poweroff@.service.in
@@ -5,7 +5,7 @@
[Service]
Type=oneshot
-ExecStart=@sbindir@/openpower-proc-control cleanupPcie
+ExecStart=@bindir@/openpower-proc-control cleanupPcie
[Install]
WantedBy=obmc-chassis-poweroff@%i.target