Remove docs targets
The docs integration is now handled in build.rs if the lgpl-docs feature is enabled.
This commit is contained in:
parent
6d756149a3
commit
82cbd02fea
|
|
@ -6,27 +6,13 @@ all: generate-libostree-sys generate-libostree
|
||||||
tools/bin/gir:
|
tools/bin/gir:
|
||||||
cargo install --root tools --git https://github.com/gtk-rs/gir.git -- gir
|
cargo install --root tools --git https://github.com/gtk-rs/gir.git -- gir
|
||||||
|
|
||||||
tools/bin/rustdoc-stripper:
|
|
||||||
cargo install --root tools rustdoc-stripper
|
|
||||||
|
|
||||||
# gir generate
|
# gir generate
|
||||||
gir/%: tools/bin/gir
|
gir/%: tools/bin/gir
|
||||||
tools/bin/gir -c conf/$*.toml
|
tools/bin/gir -c conf/$*.toml
|
||||||
|
|
||||||
generate-libostree-sys: gir/libostree-sys
|
generate-libostree-sys: gir/libostree-sys
|
||||||
|
|
||||||
generate-libostree: gir/libostree #update-docs
|
generate-libostree: gir/libostree
|
||||||
|
|
||||||
# docs
|
|
||||||
update-docs: tools/bin/gir tools/bin/rustdoc-stripper
|
|
||||||
tools/bin/gir -c conf/libostree.toml -m doc
|
|
||||||
#sed -i \
|
|
||||||
# -e "s/trait RepoExt::fn list_refs/trait RepoExtManual::fn list_refs/" \
|
|
||||||
# -e "s/trait RepoExt::fn list_refs_ext/trait RepoExtManual::fn list_refs_ext/" \
|
|
||||||
# -e "s/trait RepoExt::fn traverse_commit/trait RepoExtManual::fn traverse_commit/" \
|
|
||||||
# libostree/vendor.md
|
|
||||||
tools/bin/rustdoc-stripper -g -o libostree/vendor.md
|
|
||||||
rm libostree/vendor.md
|
|
||||||
|
|
||||||
# gir file management
|
# gir file management
|
||||||
update-gir-files: \
|
update-gir-files: \
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue