pub fn get_macro_path<P>( root: P, macros_path: &Option<String>) -> Option<PathBuf>where P: AsRef<Path>,