summaryrefslogtreecommitdiffstats
path: root/build.rs
diff options
context:
space:
mode:
authorAndrew Gallant <jamslam@gmail.com>2020-03-15 10:06:23 -0400
committerAndrew Gallant <jamslam@gmail.com>2020-03-15 13:19:14 -0400
commit12e41809850a4ac14ed200101ef8b033d2a20c38 (patch)
treed3f78ca44b96770f85fca31722223685e692a76e /build.rs
parentdaa831939873a50cd7e193a7211b5e3d37ad631c (diff)
doc: remove CPU features from man pages
It doesn't really belong in the man page since it's an artifact of a build/runtime configuration. Moreover, it inhibits reproducible builds. Fixes #1441
Diffstat (limited to 'build.rs')
-rw-r--r--build.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/build.rs b/build.rs
index 00e0a051..e3c08a5d 100644
--- a/build.rs
+++ b/build.rs
@@ -86,7 +86,7 @@ fn generate_man_page<P: AsRef<Path>>(outdir: P) -> io::Result<()> {
let githash = git_revision_hash();
let githash = githash.as_ref().map(|x| &**x);
- tpl = tpl.replace("{VERSION}", &app::long_version(githash));
+ tpl = tpl.replace("{VERSION}", &app::long_version(githash, false));
File::create(&txt_path)?.write_all(tpl.as_bytes())?;
let result = process::Command::new("a2x")