set prefix before mandir