def makeTarget(target, host=None, user=None, forceSSH=False):
    """makeTarget(path[,host,user,forceSSH]) --> [[user@]host:]path"""
    if forceSSH and not host:
        host = 'localhost'
    if host:
        target = '%s:%s' % (host, target)
        if user:
            target = '%s@%s' % (user, target)
    return target
