-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathconfig.bat
43 lines (31 loc) · 1.11 KB
/
config.bat
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