File: install.patch

package info (click to toggle)
latex2html 2025%2Bdebian1-3
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 6,992 kB
  • sloc: perl: 34,820; makefile: 437; sh: 32
file content (55 lines) | stat: -rw-r--r-- 2,174 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
Description: Adjust to Debian installation
 This patch adjusts several files to the Debian specific installation.
Author: Roland Stigge <stigge@antcom.de>
Forwarded: not-needed

--- a/config/install.pl
+++ b/config/install.pl
@@ -236,7 +236,7 @@
   'styles'            => 'lib,recurse',
   # MRO: Tests are for pre-installation testing
   #'tests'             => 'lib,recurse',
-  'texinputs'         => 'lib,recurse',
+  #'texinputs'         => 'lib,recurse',
   #'texlive.pm'        => 'lib',
   'versions'          => 'lib,recurse',
   #'wrapper'           => 'lib,recurse',
@@ -391,7 +391,7 @@
         }
       }
       closedir(DIR);
-      if($ok && $cfg{MKTEXLSR}) {
+      if($ok && $cfg{MKTEXLSR} && ! $ENV{'INSTALLING_DEBIAN'}) {
         print "Info: Running $cfg{MKTEXLSR} to rebuild ls-R database...\n";
         system($cfg{MKTEXLSR});
       }
--- a/makeseg/makeseg
+++ b/makeseg/makeseg
@@ -17,23 +17,23 @@
 # config file settings therefore override anything set here
 
 # Location to look for L2H-supported LaTeX styles
-$LATEX2HTMLSTYLES="/usr/local/lib/texmf/latex2html/styles" 
+$LATEX2HTMLSTYLES="/usr/share/texmf/latex2html/styles"
     unless $LATEX2HTMLSTYLES;
 
 # Location for TeX style files etc.
 # $TEXINPUTS is read from the environment if not explicitly supplied
 $TEXINPUTS=$ENV{'TEXINPUTS'} unless $TEXINPUTS;
-$TEXINPUTS=".:/usr/local/lib/texmf/tex//" unless $TEXINPUTS;
+$TEXINPUTS=".:/usr/share/texmf/tex//" unless $TEXINPUTS;
 
 # Location for BibTeX Bibliography databases
 # $BIBINPUTS is read from the environment if not explicitly supplied
 $BIBINPUTS=$ENV{'BIBINPUTS'} unless $BIBINPUTS;
-$BIBINPUTS=".:/usr/local/lib/texmf/bibtex/bib/" unless $BIBINPUTS;
+$BIBINPUTS=".:/usr/share/texmf/bibtex/bib/" unless $BIBINPUTS;
 
 # Location for BibTeX Bibliography styles (in addition to $TEXINPUTS)
 # $BSTINPUTS is read from the environment if not explicitly supplied
 $BSTINPUTS=$ENV{'BSTINPUTS'} unless $BSTINPUTS;
-$BSTINPUTS="/usr/local/lib/texmf/bibtex/bst/" unless $BSTINPUTS;
+$BSTINPUTS="/usr/share/texmf/bibtex/bst/" unless $BSTINPUTS;
 
 # The lowest sectioning command at which to create segments
 # corresponds to -l option