Rewrite sgml2{info,latex,txt} parsers to allow different program locations.

parent 3179a566
#!/bin/sh
if [ ! -x /usr/bin/makeinfo ]
then
if which makeinfo > /dev/null 2>&1; then
exec /usr/bin/linuxdoc --backend=info "$@"
else
echo "Please install makeinfo to use LinuxDoc DTD SGML Info Conversion"
exit 1
fi
exec /usr/bin/linuxdoc --backend=info "$@"
#!/bin/sh
if [ ! -x /usr/bin/latex ]
then
if which latex > /dev/null 2>&1; then
exec /usr/bin/linuxdoc --backend=latex "$@"
else
echo "Please install latex to use LinuxDoc DTD SGML LaTeX/PS/PDF Conversion"
exit 1
fi
exec /usr/bin/linuxdoc --backend=latex "$@"
#!/bin/sh
if [ ! -x /usr/bin/groff ]
then
if which groff > /dev/null 2>&1; then
exec /usr/bin/linuxdoc --backend=txt "$@"
else
echo "Please install groff to use LinuxDoc DTD SGML Text Conversion"
exit 1
fi
exec /usr/bin/linuxdoc --backend=txt "$@"
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment