install: Install binary into bin/, not sbin/

There are plenty of ways today to run flashprog as a normal,
non-root user. Hence it should live in bin/, where it can be
shared by root and others.

Change-Id: Ia614ea234237668cb4d6a0c1915e41975aae70d4
Signed-off-by: Nico Huber <nico.h@gmx.de>
Reviewed-on: https://review.sourcearcade.org/c/flashprog/+/265
diff --git a/Makefile b/Makefile
index cc6e4d4..12adf61 100644
--- a/Makefile
+++ b/Makefile
@@ -1032,9 +1032,9 @@
 	@+$(MAKE) -C util/ich_descriptors_tool/ clean
 
 install: $(PROGRAM)$(EXEC_SUFFIX) $(MANS)
-	mkdir -p $(DESTDIR)$(PREFIX)/sbin
+	mkdir -p $(DESTDIR)$(PREFIX)/bin
 	mkdir -p $(DESTDIR)$(MANDIR)/man8
-	$(INSTALL) -m 0755 $(PROGRAM)$(EXEC_SUFFIX) $(DESTDIR)$(PREFIX)/sbin
+	$(INSTALL) -m 0755 $(PROGRAM)$(EXEC_SUFFIX) $(DESTDIR)$(PREFIX)/bin
 	$(INSTALL) -m 0644 $(MANS) $(DESTDIR)$(MANDIR)/man8
 
 libinstall: libflashprog.a include/libflashprog.h
diff --git a/meson.build b/meson.build
index f87bac5..a6bd30f 100644
--- a/meson.build
+++ b/meson.build
@@ -617,7 +617,7 @@
     c_args : cargs,
     include_directories : include_dir,
     install : true,
-    install_dir : get_option('sbindir'),
+    install_dir : get_option('bindir'),
     link_with : libflashprog.get_static_lib(), # flashprog needs internal symbols of libflashprog
   )
 endif