7770e89115
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@2527 c6295689-39f2-0310-b995-f0e70906c6a9
23 lines
407 B
Bash
23 lines
407 B
Bash
#!/bin/bash
|
|
|
|
set -e
|
|
|
|
SRCDIR=.
|
|
|
|
if test -n "$1"
|
|
then
|
|
SRCDIR="$1"
|
|
fi
|
|
|
|
test -f "$SRCDIR"/`basename $0`
|
|
|
|
if ! test -w "$SRCDIR"
|
|
then
|
|
exit 0
|
|
fi
|
|
|
|
xsltproc -o "$SRCDIR"/opensc.html "$SRCDIR"/opensc.xsl "$SRCDIR/"opensc.xml
|
|
tidy -im -utf8 -xml "$SRCDIR"/opensc.html || true
|
|
xsltproc -o "$SRCDIR"/opensc-es.html "$SRCDIR"/opensc.xsl "$SRCDIR"/opensc-es.xml
|
|
tidy -im -utf8 -xml "$SRCDIR"/opensc-es.html || true
|