pub fn build_script_with_man_written_to<P: AsRef<Path>, M: AsRef<Path> + Into<PathBuf>>(
source: P,
output: M
) -> Result<(), Error>
👎Deprecated: use of cfg_me crate to build man pages is cleaner
Expand description
Generates the source code and manual page at specified location.
This function is deprecated because generating man page in compilation step is surprising. An
external cfg_me
tool is provided that can generate the man page and save it to predictable
location. This function needlessly burdens users of the crate to handle location configuration
and makes it hard for toold like packagers to read the man page.
This is same as build_script_with_man()
, but it allows you to choose where to put the man
page.