diff options
author | Ronnie Sahlberg <lsahlber@redhat.com> | 2019-12-13 10:30:00 +1000 |
---|---|---|
committer | Pavel Shilovsky <pshilov@microsoft.com> | 2019-12-16 12:21:12 -0800 |
commit | f64814b215c8669ad912058225eabf5e1d0d40fd (patch) | |
tree | 1008db0328fe8fd3e0d84487edbb8a4323c300e3 | |
parent | b10aaefcd9de4e35b3e2a0753861468725d9c186 (diff) | |
download | cifs-utils-f64814b215c8669ad912058225eabf5e1d0d40fd.tar.gz cifs-utils-f64814b215c8669ad912058225eabf5e1d0d40fd.tar.bz2 cifs-utils-f64814b215c8669ad912058225eabf5e1d0d40fd.zip |
Install smb2-quota and its manpage
Signed-off-by: Ronnie Sahlberg <lsahlber@redhat.com>
-rw-r--r-- | Makefile.am | 6 | ||||
-rw-r--r-- | configure.ac | 6 | ||||
-rwxr-xr-x | smb2-quota (renamed from smb2-quota.py) | 0 |
3 files changed, 12 insertions, 0 deletions
diff --git a/Makefile.am b/Makefile.am index 1af2573..b3e9d9a 100644 --- a/Makefile.am +++ b/Makefile.am @@ -25,6 +25,7 @@ RST2MAN = $(have_rst2man) --syntax-highlight=none $< $@ CLEANFILES = bin_PROGRAMS = +bin_SCRIPTS = sbin_PROGRAMS = if CONFIG_CIFSUPCALL @@ -85,6 +86,11 @@ smbinfo_SOURCES = smbinfo.c rst_man_pages += smbinfo.1 endif +if CONFIG_PYTHON_TOOLS +bin_SCRIPTS += smb2-quota +rst_man_pages += smb2-quota.1 +endif + if CONFIG_PLUGIN plugindir = $(pkglibdir) plugin_PROGRAMS = idmapwb.so diff --git a/configure.ac b/configure.ac index cc48563..1b2c9c9 100644 --- a/configure.ac +++ b/configure.ac @@ -45,6 +45,11 @@ AC_ARG_ENABLE(smbinfo, enable_smbinfo=$enableval, enable_smbinfo="maybe") +AC_ARG_ENABLE(pythontools, + [AS_HELP_STRING([--enable-pythontools],[Install python utilities @<:@default=yes@@])], + enable_pythontools=$enableval, + enable_pythontools="maybe") + AC_ARG_ENABLE(pam, [AS_HELP_STRING([--enable-pam],[Create cifscreds PAM module @<:@default=yes@:>@])], enable_pam=$enableval, @@ -281,6 +286,7 @@ AM_CONDITIONAL(CONFIG_CIFSCREDS, [test "$enable_cifscreds" != "no"]) AM_CONDITIONAL(CONFIG_CIFSIDMAP, [test "$enable_cifsidmap" != "no"]) AM_CONDITIONAL(CONFIG_CIFSACL, [test "$enable_cifsacl" != "no"]) AM_CONDITIONAL(CONFIG_SMBINFO, [test "$enable_smbinfo" != "no"]) +AM_CONDITIONAL(CONFIG_PYTHON_TOOLS, [test "$enable_pythontools" != "no"]) AM_CONDITIONAL(CONFIG_PAM, [test "$enable_pam" != "no"]) AM_CONDITIONAL(CONFIG_PLUGIN, [test "$enable_cifsidmap" != "no" -o "$enable_cifsacl" != "no"]) diff --git a/smb2-quota.py b/smb2-quota index 6d0b8a3..6d0b8a3 100755 --- a/smb2-quota.py +++ b/smb2-quota |