From: Felix Krull Date: Fri, 24 May 2019 19:51:34 +0000 (+0200) Subject: Change gir targets X-Git-Tag: archive/raspbian/2022.4-1+rpi1^2~9^2^2~20^2~286 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=0b85551588d1610ba4127d6b700fc1c4c3e77666;p=ostree.git Change gir targets --- 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: