don't export doc-script & fix typo in makedoc script