File: config.bat

package info (click to toggle)
latex2html 2008-debian1-7
  • links: PTS
  • area: main
  • in suites: wheezy
  • size: 11,176 kB
  • sloc: perl: 30,941; makefile: 429; sh: 155
file content (43 lines) | stat: -rw-r--r-- 1,132 bytes parent folder | download | duplicates (11)
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
@ECHO OFF
REM this is a DOS batch file

REM *vital* This is the path to the perl interpreter
set PERL=perl

REM -------------------------------------------------------------------------
ECHO Starting Configuration...

IF EXIST cfgcache.pm DEL cfgcache.pm
%PERL% config\config.pl PERL=%PERL% %1 %2 %3 %4 %5 %6 %7 %8 %9
IF NOT EXIST cfgcache.pm GOTO ERROR

REM -------------------------------------------------------------------------
ECHO Starting build...

ECHO ... building latex2html
%PERL% config\build.pl -x latex2html
IF ERRORLEVEL 1 GOTO ERROR

ECHO ... building pstoimg
%PERL% config\build.pl -x pstoimg
IF ERRORLEVEL 1 GOTO ERROR

ECHO ... building texexpand
%PERL% config\build.pl -x texexpand
IF ERRORLEVEL 1 GOTO ERROR

ECHO ... building configuration module
%PERL% config\build.pl l2hconf.pm
IF ERRORLEVEL 1 GOTO ERROR

GOTO OK

REM -------------------------------------------------------------------------
:ERROR
ECHO An error has occured, aborting

REM -------------------------------------------------------------------------
:OK
ECHO Configuration procedure finished
:END