Conditional install of the cifs.upcall man page
authorLars Müller <lars@samba.org>
Mon, 2 Feb 2009 20:12:52 +0000 (21:12 +0100)
committerLars Müller <lars@samba.org>
Mon, 2 Feb 2009 20:19:18 +0000 (21:19 +0100)
Only install the cifs.upcall man page if CIFSUPCALL_PROGS was set while
configure.

source/script/installman.sh

index 7edc707ab073de9556a6682eda2a8f6be318a877..76b8845f3f3cda5bd0add9074433cc02a670737b 100755 (executable)
@@ -48,6 +48,7 @@ for lang in $langs; do
 
            # Check if this man page if required by the configured feature set
            case "${MP_BASENAME}" in
+               cifs.upcall.8) test -z "${CIFSUPCALL_PROGS}" && continue ;;
                smbsh.1) test -z "${SMBWRAPPER}" && continue ;;
                smbmnt.8|smbmount.8|smbumount.8) test -z "${SMBMOUNT_PROGS}" && continue ;;
                *) ;;