diff options
author | Sven Neumann <sven@svenfoo.org> | 2020-09-24 09:03:23 +0200 |
---|---|---|
committer | Sven Neumann <sven@svenfoo.org> | 2020-09-24 16:38:04 +0200 |
commit | 5554b63d5d2d1666c48f55609e1988cba353c065 (patch) | |
tree | 846832210e2a2cc81916fa958e7f2b125c9999c1 /Makefile.am | |
parent | e24b205d0b9601472d793bc9ed12463f8bc9b2e9 (diff) | |
download | librsvg-5554b63d5d2d1666c48f55609e1988cba353c065.tar.gz |
Generate version.rs from librsvg/build.rs
Parse the version numbers from configure.ac and create version.rs. This should
work better with build_dir != src_dir.
Based on code kindly suggested by user notriddle at https://users.rust-lang.org/
Diffstat (limited to 'Makefile.am')
-rw-r--r-- | Makefile.am | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Makefile.am b/Makefile.am index 9ca857cf..cdc509d1 100644 --- a/Makefile.am +++ b/Makefile.am @@ -122,6 +122,7 @@ LIBRSVG_CRATE_SRC = \ LIBRSVG_C_API_SRC = \ librsvg/Cargo.toml \ + librsvg/build.rs \ librsvg/c_api.rs \ librsvg/color_utils.rs \ librsvg/dpi.rs \ |