File: Makefile.bat

package info (click to toggle)
ipadic 2.6.3-2
  • links: PTS
  • area: non-free
  • in suites: etch, etch-m68k, lenny, sarge, squeeze
  • size: 24,280 kB
  • ctags: 61
  • sloc: sh: 488; makefile: 97
file content (42 lines) | stat: -rw-r--r-- 699 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
REM  
REM  Makefile.bat ipadic-2.5.1
REM
@echo off
@echo Makefile.bat for ipadic-2.5.1

cd dic

@echo copy...
copy connect.cha _connect.c
if errorlevel 1 goto ERROREXIT

copy _connect.c _connect.cha
REM cl -E _connect.c > _connect.cha

@echo makemat...
..\mkchadic\makemat
if errorlevel 1 goto ERROREXIT

del _connect.c
del _connect.cha

@echo makeint...
..\mkchadic\makeint -o chadic.txt *.dic
if errorlevel 1 goto ERROREXIT

@echo makeda...
..\mkchadic\makeda chadic.txt chadic
if errorlevel 1 goto ERROREXIT

del chadic.txt

cd ..

@echo chasen dictionary compiled successfully.
goto LAST

:ERROREXIT
@echo cannot make chasen dictionary.

:LAST
@echo on