mirror of
https://git.code.sf.net/p/linux-ima/ima-evm-utils
synced 2025-07-02 21:53:17 +02:00
man: Generate doc targets only when XSL found
As requiring manpages/docbook.xsl breaks build if not found. Also rewrite the check to add more debug info. Signed-off-by: Petr Vorel <pvorel@suse.cz> Reviewed-by: Bruno Meneguele <bmeneg@redhat.com>(Fedora,CentOS 8(RHEL actually)) Signed-off-by: Mimi Zohar <zohar@linux.ibm.com>
This commit is contained in:
@ -1,5 +1,7 @@
|
||||
SUBDIRS = src tests
|
||||
if MANPAGE_DOCBOOK_XSL
|
||||
dist_man_MANS = evmctl.1
|
||||
endif
|
||||
|
||||
doc_DATA = examples/ima-genkey-self.sh examples/ima-genkey.sh examples/ima-gen-local-ca.sh
|
||||
EXTRA_DIST = autogen.sh $(doc_DATA)
|
||||
@ -23,6 +25,7 @@ rpm: $(tarname)
|
||||
cp $(tarname) $(SRCS)/
|
||||
rpmbuild -ba --nodeps $(SPEC)
|
||||
|
||||
if MANPAGE_DOCBOOK_XSL
|
||||
evmctl.1.html: README
|
||||
@asciidoc -o $@ $<
|
||||
|
||||
@ -35,5 +38,6 @@ rmman:
|
||||
rm -f evmctl.1
|
||||
|
||||
doc: evmctl.1.html rmman evmctl.1
|
||||
endif
|
||||
|
||||
.PHONY: $(tarname)
|
||||
|
Reference in New Issue
Block a user