]> www.infradead.org Git - users/sagi/nvme-cli.git/commit
build: Install additional files incl documentation
authorDaniel Wagner <dwagner@suse.de>
Fri, 12 Nov 2021 11:30:09 +0000 (12:30 +0100)
committerDaniel Wagner <dwagner@suse.de>
Thu, 18 Nov 2021 09:24:51 +0000 (10:24 +0100)
commit629b5bc128b7e246d1fbce6188ea8aaf0eac107c
tree5b864c983746993684cb4779e3bb03dd02c917a0
parent98a5d65652ab4cd1145bc2bd631d09f4d6a5fbae
build: Install additional files incl documentation

Install additional files such as dracut, systemd and udev scipts.
Also add support for building and installing documentation.

Introduce a build option '-Ddocs=[all,man,html]' which builds (if
asciidoctor is availalbe) and installs the docs.

meson doesn't support pre compiled sources updated in the source
tree. This is a design decision. That means the man pages
(Documentation/*.1) and the html pages (Documentation/*.html) can't be
updated so easily as with Makefile.

The workaround provide a shell script which updates the in tree
pre compiled documentation

Signed-off-by: Daniel Wagner <dwagner@suse.de>
Documentation/meson.build [new file with mode: 0644]
meson.build
meson_options.txt [new file with mode: 0644]
update-docs.sh [new file with mode: 0755]