AUTOTOOLS: Create a separate Makefile.am for the docs directory
This commit is contained in:
committed by
Ronnie Sahlberg
parent
7d1f7a5308
commit
5500f84402
14
doc/Makefile.am
Normal file
14
doc/Makefile.am
Normal file
@@ -0,0 +1,14 @@
|
||||
XSLTPROC = /usr/bin/xsltproc
|
||||
|
||||
# Manpages
|
||||
man1_MANS = iscsi-inq.1 iscsi-ls.1 iscsi-swp.1
|
||||
|
||||
EXTRA_DIST = iscsi-inq.xml iscsi-ls.xml iscsi-swp.xml
|
||||
|
||||
.xml.1:
|
||||
if BUILD_MANPAGES
|
||||
$(XSLTPROC) -o $@ http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl $<
|
||||
else
|
||||
echo "Building without manpages"
|
||||
endif
|
||||
|
||||
Reference in New Issue
Block a user