]> www.infradead.org Git - users/sagi/nvme-cli.git/commitdiff
rpmbuild: Do docs build to avoid error from missing .1, .html files
authorSteven Seungcheol Lee <sc108.lee@samsung.com>
Fri, 1 Jul 2022 06:21:34 +0000 (15:21 +0900)
committerSteven Seungcheol Lee <sc108.lee@samsung.com>
Fri, 1 Jul 2022 06:21:34 +0000 (15:21 +0900)
Program asciidoc found: YES (/usr/bin/asciidoc)
Documentation/meson.build:253:8: ERROR: File nvme-wdc-cloud-boot-SSD-version.1 does not exist.

Signed-off-by: Steven Seungcheol Lee <sc108.lee@samsung.com>
Makefile

index 8c4cb744ab7730afe2df53861e77ba5c1940c369..085adf8fb0dcfd5a3219e079b93f6eafd833bb5d 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -43,5 +43,5 @@ rpm:
        meson ${BUILD-DIR} \
                -Dudevrulesdir=$(shell rpm --eval '%{_udevrulesdir}') \
                -Dsystemddir=$(shell rpm --eval '%{_unitdir}') \
-               -Ddocs=man
+               -Ddocs=man -Ddocs-build=true
        rpmbuild -ba ${BUILD-DIR}/nvme.spec --define "_builddir ${BUILD-DIR}" -v