- 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:
okir 2003-06-11 10:53:19 +00:00
parent da8a49569c
commit 20ac705c07
1 changed files with 6 additions and 1 deletions

View File

@ -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