diff --git a/rust-bindings/rust/Makefile b/rust-bindings/rust/Makefile index 9bfd9019..b4a8342a 100644 --- a/rust-bindings/rust/Makefile +++ b/rust-bindings/rust/Makefile @@ -1,4 +1,4 @@ -all: gir/ostree gir/ostree-sys +all: gir .PHONY: update-gir-files remove-gir-files merge-lgpl-docs @@ -8,8 +8,9 @@ target/tools/bin/gir: #cargo install --root target/tools --git https://github.com/gtk-rs/gir.git --rev fec179c697a03e4aa98c610f7b98fd1b0ceb9344 -- gir cargo install --root target/tools --git https://github.com/fkrull/gir.git --branch fixup-gconstpointer -- gir -gir/%: target/tools/bin/gir - target/tools/bin/gir -c conf/$*.toml +gir: target/tools/bin/gir + target/tools/bin/gir -c conf/ostree-sys.toml + target/tools/bin/gir -c conf/ostree.toml # -- LGPL docs generation -- diff --git a/rust-bindings/rust/README.md b/rust-bindings/rust/README.md index f38f10c4..d0501747 100644 --- a/rust-bindings/rust/README.md +++ b/rust-bindings/rust/README.md @@ -52,7 +52,7 @@ Most code is generated based on the gir files using the the included Makefile: ```ShellSession -$ make gir/ostree gir/ostree-sys +$ make gir ``` Run the following command to update the bundled gir files: