mirror of
https://git.code.sf.net/p/linux-ima/ima-evm-utils
synced 2025-07-01 21:31:14 +02:00
Update README to produce initial evmctl.1 man page
Update README with additional information to produce initial evmctl.1 man page. Sligtly reformat it for that purpose as well. Requires asciidoc, xslproc, docbook-xsl packages to build man page. Signed-off-by: Dmitry Kasatkin <d.kasatkin@samsung.com>
This commit is contained in:
18
Makefile.am
18
Makefile.am
@ -1,8 +1,12 @@
|
||||
SUBDIRS = src
|
||||
# does work on Ubuntu, but on Fedora different path to XSL stylesheets
|
||||
#man_MANS = evmctl.1
|
||||
|
||||
doc_DATA = examples/ima-genkey-self.sh examples/ima-genkey.sh examples/ima-gen-local-ca.sh
|
||||
EXTRA_DIST = autogen.sh $(doc_DATA)
|
||||
|
||||
CLEANFILES = *.html *.1 *.xsl
|
||||
|
||||
ACLOCAL_AMFLAGS = -I m4
|
||||
|
||||
SRCS = $(HOME)/rpmbuild/SOURCES
|
||||
@ -20,4 +24,18 @@ rpm: $(tarname)
|
||||
cp $(tarname) $(SRCS)/
|
||||
rpmbuild -ba --nodeps $(SPEC)
|
||||
|
||||
# requires asciidoc, xslproc, docbook-xsl
|
||||
MANPAGE_DOCBOOK_XSL = /usr/share/xml/docbook/stylesheet/docbook-xsl/manpages/docbook.xsl
|
||||
|
||||
evmctl.1.html: README
|
||||
@asciidoc -o $@ $<
|
||||
|
||||
evmctl.1.xsl: README
|
||||
@asciidoc -d manpage -b docbook -o $@ $<
|
||||
|
||||
evmctl.1: evmctl.1.xsl
|
||||
@xsltproc --nonet -o $@ $(MANPAGE_DOCBOOK_XSL) $<
|
||||
|
||||
doc: evmctl.1.html evmctl.1
|
||||
|
||||
.PHONY: $(tarname)
|
||||
|
Reference in New Issue
Block a user