forked from pool/latex2html
Petr Gajdos
b160621fb3
- update to 2021.2: * latex2html -long_titles fix duplicate file names * latex2html -long_titles 5 -title "Title" * correct link from index.html * pnmquant -norandom for reproducible builds * treat cygwin as unix * $WORDS_IN_INDEX configurable * fix image size for multline, subequations * remove extra <SPAN> after subequations * equation numbering for multline * close bold, etc, at end of environment * implement memoir document class * fix scanning of latex comments * fix subequation numbering * babel should not set character encoding of input file * package nomencl.sty * package nameref.sty * options -cut_ref_num -add_ref_name OBS-URL: https://build.opensuse.org/request/show/903986 OBS-URL: https://build.opensuse.org/package/show/Publishing/latex2html?expand=0&rev=49
17 lines
652 B
Diff
17 lines
652 B
Diff
Index: config/install.pl
|
|
===================================================================
|
|
--- config/install.pl.orig
|
|
+++ config/install.pl
|
|
@@ -295,8 +295,10 @@ my @icon_types = $cfg{'IMAGE_TYPES'} ?
|
|
split(/\s+/,$cfg{'IMAGE_TYPES'}) : qw(gif);
|
|
my $iconrx = join('|', @icon_types);
|
|
|
|
+my $destdir=$ENV{"DESTDIR"};
|
|
my $dest1 = "$cfg{'SHLIBDIR'}${dd}icons";
|
|
-if((-d $dest1 && !-w _) || (-d $cfg{'SHLIBDIR'} && !-w _)) {
|
|
+print STDERR "((( $destdir, $dest1 )))\n";
|
|
+if((-d "$destdir$dest1" && !-w _) || (-d "$destdir$cfg{'SHLIBDIR'}" && !-w _)) {
|
|
print STDERR "Error: Cannot install icons in '$dest1': No write permission.\n";
|
|
$dest1 = '';
|
|
}
|