from setuphelpers import *
import platform

def install():
    if platform.system() == 'Windows':
        pathdoc = r'C:\documentation\doc-samba'
    else:
        pathdoc = "/opt/documentation/doc-samba"

    if isdir(pathdoc):
        remove_tree(pathdoc)        
    
    mkdirs(pathdoc)
    copytree2('build',pathdoc)
