Turning the target function for M-H into a distribution

I have a target function that I want to transform into a distribution in order to use Turing, let’s suppose that the target function is written on this form:

logtarget(x::Vector)= log(prod(x))^2

how can I turn it into a distribution, knowing that I have a customized distribution to propose the values of the vector x