Fix chroot doc creation for the new relocated files

parent 97c76537
......@@ -71,7 +71,7 @@ sed -e '/global->{NsgmlsOpts} .= \"-D \/usr\/share\/sgml \"/a \
$global->{NsgmlsOpts} .= " -D TMPLIBDIR1"; \
$global->{NsgmlsOpts} .= " -D TMPLIBDIR2";
' \
${PKGDATADIR}/LinuxDocTools.pm | sed \
../perl5lib/LinuxDocTools.pm | sed \
-e "s,TMPCONFIG,"${DATADIR}"/linuxdoc-tools/dtd/catalog ," \
-e "s,TMPLIBDIR1,"${DATADIR}"/linuxdoc-tools ," \
-e "s,TMPLIBDIR2,/usr/share/sgml ," \
......@@ -84,6 +84,7 @@ fi
if [ -n "`which latex`" ]; then
ln -s $TMPDIR/linuxdoc $TMPDIR/sgml2latex
cp ../tex/*.sty ${TMPDIR}/linuxdoc-tools
$TMPDIR/sgml2latex --pass="\usepackage{times}" -o dvi ./guide
fi
......
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