make: fix doc generation by the use of renamed --custom-* options