build: install river-layout-v3 to $PREFIX/share/river
This makes it easier for other projects (i.e. everyone's layout generators) to depend on the protocol xml without needing to vendor it. The river-layout-v3 protocol should remain stable for the forseeable future, hopefully forever. On the other hand, the current river-control-unstable-v1 and river-status-unstable-v1 protocols will be replaced as soon as we have time to implement better versions. Therefore, let's not encourage usage of the protocols we intend to remove.
This commit is contained in:
parent
b49ea34f15
commit
a07e5de945
17
build.zig
17
build.zig
@ -124,30 +124,23 @@ pub fn build(b: *zbs.Builder) !void {
|
|||||||
rivertile.install();
|
rivertile.install();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
b.installFile("protocol/river-layout-v3.xml", "share/river/river-layout-v3.xml");
|
||||||
|
|
||||||
if (man_pages) {
|
if (man_pages) {
|
||||||
const scdoc_step = ScdocStep.create(b);
|
const scdoc_step = ScdocStep.create(b);
|
||||||
try scdoc_step.install();
|
try scdoc_step.install();
|
||||||
}
|
}
|
||||||
|
|
||||||
if (bash_completion) {
|
if (bash_completion) {
|
||||||
b.installFile(
|
b.installFile("completions/bash/riverctl", "share/bash-completion/completions/riverctl");
|
||||||
"completions/bash/riverctl",
|
|
||||||
"share/bash-completion/completions/riverctl",
|
|
||||||
);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
if (zsh_completion) {
|
if (zsh_completion) {
|
||||||
b.installFile(
|
b.installFile("completions/zsh/_riverctl", "share/zsh/site-functions/_riverctl");
|
||||||
"completions/zsh/_riverctl",
|
|
||||||
"share/zsh/site-functions/_riverctl",
|
|
||||||
);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
if (fish_completion) {
|
if (fish_completion) {
|
||||||
b.installFile(
|
b.installFile("completions/fish/riverctl.fish", "share/fish/vendor_completions.d/riverctl.fish");
|
||||||
"completions/fish/riverctl.fish",
|
|
||||||
"share/fish/vendor_completions.d/riverctl.fish",
|
|
||||||
);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user