mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer-rs.git
synced 2024-11-15 22:11:01 +00:00
23 lines
633 B
Rust
23 lines
633 B
Rust
fn main() {
|
|
manage_docs();
|
|
}
|
|
|
|
#[cfg(all(
|
|
any(feature = "embed-lgpl-docs", feature = "purge-lgpl-docs"),
|
|
not(all(feature = "embed-lgpl-docs", feature = "purge-lgpl-docs"))
|
|
))]
|
|
fn manage_docs() {
|
|
extern crate lgpl_docs;
|
|
const PATH: &str = "src";
|
|
const IGNORES: &[&str] = &[];
|
|
lgpl_docs::purge(PATH, IGNORES);
|
|
if cfg!(feature = "embed-lgpl-docs") {
|
|
lgpl_docs::embed(lgpl_docs::Library::GstPbutils, PATH, IGNORES);
|
|
}
|
|
}
|
|
|
|
#[cfg(any(
|
|
all(feature = "embed-lgpl-docs", feature = "purge-lgpl-docs"),
|
|
not(any(feature = "embed-lgpl-docs", feature = "purge-lgpl-docs"))
|
|
))]
|
|
fn manage_docs() {}
|