Mercurial > mplayer.hg
diff DOCS/xml/configure @ 31471:da0291f41eb7
Move xsltproc target file hack to the Makefile.
author | diego |
---|---|
date | Wed, 23 Jun 2010 13:24:53 +0000 |
parents | 7c10f547ce96 |
children | f5b66007c5e1 |
line wrap: on
line diff
--- a/DOCS/xml/configure Wed Jun 23 12:38:40 2010 +0000 +++ b/DOCS/xml/configure Wed Jun 23 13:24:53 2010 +0000 @@ -181,13 +181,11 @@ if test -z "$_fake_chunk_xsl" then echo "Found xsltproc. If it works, it's probably the best choice." - # HACK: xslt always need a target file if a doctype is set - _xsltcommand="OUTPUT=\"\$1\"; if test -d \"\$OUTPUT\" ; then OUTPUT=\"\$OUTPUT/dummy.html\" ; fi;" if test -n "$_catalog" then - _xsltcommand="$_xsltcommand xsltproc --catalogs -o \$OUTPUT \$2 \$3" + _xsltcommand="xsltproc --catalogs -o \$1 \$2 \$3" else - _xsltcommand="$_xsltcommand xsltproc -o \$OUTPUT \$2 \$3" + _xsltcommand="xsltproc -o \$1 \$2 \$3" fi else echo "Found xsltproc but no stylesheets on your system."