summaryrefslogtreecommitdiff
path: root/Makefile.am
diff options
context:
space:
mode:
authorJeff Layton <jlayton@samba.org>2012-02-12 07:33:05 -0500
committerJeff Layton <jlayton@samba.org>2012-02-12 07:33:05 -0500
commitc753cfe5491cfb1f1f74ca41444706383ab9f0e3 (patch)
tree47d36ba45dcfd5c0c91d3c772ccbc07a431c8b93 /Makefile.am
parentf9524f772c62bbfd7c190b8249ed66990ed3227a (diff)
downloadcifs-utils-c753cfe5491cfb1f1f74ca41444706383ab9f0e3.tar.gz
cifs-utils-c753cfe5491cfb1f1f74ca41444706383ab9f0e3.tar.bz2
cifs-utils-c753cfe5491cfb1f1f74ca41444706383ab9f0e3.zip
cifs-utils: allow specifying rootsbindir at configure time
...via the $ROOTSBINDIR environment variable, and AC_ARG_VAR macro. The default is to use /sbin for this value, which only currently affects the installation location of mount.cifs. Signed-off-by: Jeff Layton <jlayton@samba.org>
Diffstat (limited to 'Makefile.am')
-rw-r--r--Makefile.am2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile.am b/Makefile.am
index 6182965..924c99e 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -1,7 +1,7 @@
AM_CFLAGS = -Wall -Wextra
ACLOCAL_AMFLAGS = -I aclocal
-root_sbindir = "/sbin"
+root_sbindir = $(ROOTSBINDIR)
root_sbin_PROGRAMS = mount.cifs
mount_cifs_SOURCES = mount.cifs.c mtab.c resolve_host.c util.c
mount_cifs_LDADD = $(LIBCAP) $(CAPNG_LDADD)