Skip to content

Commit

Permalink
Install smb2-quota and its manpage
Browse files Browse the repository at this point in the history
Signed-off-by: Ronnie Sahlberg <lsahlber@redhat.com>
  • Loading branch information
Ronnie Sahlberg authored and piastry committed Dec 13, 2019
1 parent b10aaef commit c10c217
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 0 deletions.
8 changes: 8 additions & 0 deletions Makefile.am
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ RST2MAN = $(have_rst2man) --syntax-highlight=none $< $@

CLEANFILES =
bin_PROGRAMS =
bin_SCRIPTS =
sbin_PROGRAMS =

if CONFIG_CIFSUPCALL
Expand Down Expand Up @@ -83,6 +84,13 @@ if CONFIG_SMBINFO
bin_PROGRAMS += smbinfo
smbinfo_SOURCES = smbinfo.c
rst_man_pages += smbinfo.1
CLEANFILES += smbinfo.rst
endif

if CONFIG_PYTHON_TOOLS
bin_SCRIPTS += smb2-quota
rst_man_pages += smb2-quota.1
CLEANFILES += smb2-quota.rst
endif

if CONFIG_PLUGIN
Expand Down
6 changes: 6 additions & 0 deletions configure.ac
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down Expand Up @@ -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"])

Expand Down
File renamed without changes.

0 comments on commit c10c217

Please sign in to comment.