This repository has been archived by the owner on Jun 8, 2021. It is now read-only.
-
-
Notifications
You must be signed in to change notification settings - Fork 24
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
12c82b7
commit 1606d7d
Showing
2 changed files
with
17 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5,7 +5,6 @@ configure.in | |
config.log | ||
config.status | ||
*.dylib | ||
Makefile | ||
.rust | ||
*.so | ||
*.o | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
GIR = gir/target/bin/gir | ||
GIR_SRC = gir/Cargo.toml gir/Cargo.lock gir/build.rs $(shell find gir/src -name '*.rs') | ||
GIR_FILES = gir-files/Pango-1.0.gir | ||
|
||
# Run `gir` generating the bindings | ||
gir : src/auto/mod.rs | ||
|
||
src/auto/mod.rs : Gir.toml $(GIR) $(GIR_FILES) | ||
$(GIR) -c Gir.toml | ||
|
||
$(GIR) : $(GIR_SRC) | ||
rm -f gir/target/bin/gir | ||
cargo install --path gir --root gir/target | ||
rm -f gir/target/.crates.toml | ||
|
||
$(GIR_SRC) $(GIR_FILES) : | ||
git submodule update --init |