- dont fail if we dont have xsltproc
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@1190 c6295689-39f2-0310-b995-f0e70906c6a9
This commit is contained in:
parent
da8a49569c
commit
20ac705c07
|
@ -1,5 +1,6 @@
|
|||
# Process this file with automake to create Makefile.in
|
||||
|
||||
XSLTPROC := @XSLTPROC@
|
||||
HTMLFILES := usbtoken.html
|
||||
|
||||
MAINTAINERCLEANFILES = Makefile.in pkcs15-profile.5 $(HTMLFILES)
|
||||
|
@ -34,4 +35,8 @@ EXTRA_DIST = $(MANSRC) pkcs15-profile.5.in pkcs-15v1_1.asn \
|
|||
STYLESHEET=/usr/share/sgml/docbook/stylesheet/xsl/nwalsh/xhtml/docbook.xsl
|
||||
|
||||
%.html: %.xml
|
||||
xsltproc -o $@ $(STYLESHEET) $<
|
||||
if test "$(XSLTPROC)"; then \
|
||||
$(XSLTPROC) -o $@ $(STYLESHEET) $< ; \
|
||||
else \
|
||||
echo "xsltproc not installed; html docs not built" >&2; \
|
||||
fi
|
||||
|
|
Loading…
Reference in New Issue