add basedir for sample book fop generation