aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorXi Ruoyao <xry111@mengyan1223.wang>2021-03-13 07:20:59 +0000
committerXi Ruoyao <xry111@mengyan1223.wang>2021-03-13 07:20:59 +0000
commit0d0e87424861594d6fdfde24849ec1cbff0c3519 (patch)
treeef2d1df92b5b88085692bfe17bb5ae5a54724c38
parentc53ff08f82bba9ac62b4e46ea702a0ada0e1aa08 (diff)
meson: install bash and zsh completions
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@12162 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
-rw-r--r--chapter08/meson.xml4
1 files changed, 3 insertions, 1 deletions
diff --git a/chapter08/meson.xml b/chapter08/meson.xml
index cf23abf29..27e2bdf24 100644
--- a/chapter08/meson.xml
+++ b/chapter08/meson.xml
@@ -63,7 +63,9 @@
<para>Install the package:</para>
<screen><userinput remap="install">python3 setup.py install --root=dest
-cp -rv dest/* /</userinput></screen>
+cp -rv dest/* /
+install -vDm644 data/shell-completions/bash/meson /usr/share/bash-completion/completions/meson
+install -vDm644 data/shell-completions/zsh/_meson /usr/share/zsh/site-functions/_meson</userinput></screen>
<variablelist>
<title>The meaning of the install parameters:</title>