diff options
author | rhatto <rhatto@18ef50b8-d735-4ccd-97c1-689132df3dd9> | 2009-01-03 18:48:53 +0000 |
---|---|---|
committer | rhatto <rhatto@18ef50b8-d735-4ccd-97c1-689132df3dd9> | 2009-01-03 18:48:53 +0000 |
commit | f066876d6c65147292874f4947ad26e4ce8d87be (patch) | |
tree | 15e5cacf482c2b76af233d1388438112172a96cd /dev/tex/latex2html/latex2html-2008.diff | |
parent | ed25bbaf4f3aa2298f4cb783655e80a8b2c92d15 (diff) | |
download | mkbuilds-f066876d6c65147292874f4947ad26e4ce8d87be.tar.gz mkbuilds-f066876d6c65147292874f4947ad26e4ce8d87be.tar.bz2 |
latex2html: adding latex2html
git-svn-id: svn+slack://slack.fluxo.info/var/svn/mkbuilds@335 18ef50b8-d735-4ccd-97c1-689132df3dd9
Diffstat (limited to 'dev/tex/latex2html/latex2html-2008.diff')
-rw-r--r-- | dev/tex/latex2html/latex2html-2008.diff | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/dev/tex/latex2html/latex2html-2008.diff b/dev/tex/latex2html/latex2html-2008.diff new file mode 100644 index 0000000..2d07bef --- /dev/null +++ b/dev/tex/latex2html/latex2html-2008.diff @@ -0,0 +1,15 @@ +Index: latex2html-2008/config/install.pl +=================================================================== +--- latex2html-2008.orig/config/install.pl ++++ latex2html-2008/config/install.pl +@@ -372,7 +372,9 @@ foreach $item (sort keys %Install_items) + + if($cfg{TEXPATH}) { + print "\nNote: trying to install LaTeX2HTML style files in TeX directory tree\n ($cfg{TEXPATH})\n"; +- unless(mkpath($cfg{TEXPATH})) { ++ my $destdir = $cfg{TEXPATH}; ++ $destdir = $ENV{'DESTDIR'}.$destdir if($ENV{'DESTDIR'}); ++ unless(mkpath($destdir)) { + #my $testpath = $cfg{TEXPATH}; # to strip (latex2)html + #$testpath =~ s/[$dd$dd][^$dd$dd]*$//; + #if((-d $cfg{TEXPATH} && !-w _) || (-d $testpath && !-w _)) { |