build-sys: Move Rust include header under rust/ directory
It makes more sense to have the include live next to the associated code, just like we do with C, even though the `cargo build` doesn't touch it. Closes: #1444 Approved by: jlebon
This commit is contained in:
parent
bcbd68d9c8
commit
bac6d634bb
@ -95,6 +95,7 @@ $(libtreefilepath): Makefile $(TREEFILE_RUST_SRCS)
|
|||||||
$(cargo) build --verbose $(CARGO_RELEASE_ARGS)
|
$(cargo) build --verbose $(CARGO_RELEASE_ARGS)
|
||||||
EXTRA_DIST += $(TREEFILE_RUST_SRCS) rust/Cargo.lock
|
EXTRA_DIST += $(TREEFILE_RUST_SRCS) rust/Cargo.lock
|
||||||
|
|
||||||
rpm_ostree_SOURCES += src/app/libtreefile_rs.h
|
rpm_ostree_CFLAGS += -Irust/include
|
||||||
|
rpm_ostree_SOURCES += rust/include/libtreefile_rs.h
|
||||||
rpm_ostree_LDADD += $(libtreefilepath)
|
rpm_ostree_LDADD += $(libtreefilepath)
|
||||||
endif # ENABLE_RUST
|
endif # ENABLE_RUST
|
||||||
|
Loading…
Reference in New Issue
Block a user