]> granicus.if.org Git - shadow/commitdiff
Honor --sbindir and --bindir for binary installation
authorDave Reisner <dreisner@archlinux.org>
Fri, 2 Aug 2019 22:45:19 +0000 (18:45 -0400)
committerDave Reisner <dreisner@archlinux.org>
Fri, 2 Aug 2019 22:45:19 +0000 (18:45 -0400)
Some distros don't care about the split between /bin, /sbin, /usr/bin,
and /usr/sbin, so let them easily stuff binaries wherever they want.

src/Makefile.am

index a8c29c913138c5781396e859002ee3745ca17f19..f7f132eeec23f6e1f457a6dd94f1e11329f02b0a 100644 (file)
@@ -2,8 +2,8 @@
 EXTRA_DIST = \
        .indent.pro
 
-ubindir = ${prefix}/bin
-usbindir = ${prefix}/sbin
+ubindir = ${bindir}
+usbindir = ${sbindir}
 suidperms = 4755
 sgidperms = 2755