[BACK]Return to makepkg.bat CVS log [TXT][DIR] Up to [local] / OpenXM_contrib2 / windows

Annotation of OpenXM_contrib2/windows/makepkg.bat, Revision 1.8

1.8     ! ohara       1: @rem $OpenXM: OpenXM_contrib2/windows/makepkg.bat,v 1.7 2014/05/15 12:00:25 ohara Exp $
1.1       ohara       2: @echo off
                      3:
                      4: if exist asir ( rmdir /q /s asir )
                      5:
                      6: if /i "%Platform%" == "X64" (
                      7:   if not exist asir32gui\asirgui.exe ( call makebin64.bat )
                      8: ) else (
                      9:   if not exist asir32gui\asirgui.exe ( call makebin32.bat )
                     10: )
                     11:
1.7       ohara      12: mkdir asir\bin asir\help\ja asir\lib\asir asir\lib\asir-contrib asir\share\editor
1.1       ohara      13:
1.4       ohara      14: for %%i in ( asir32gui\asirgui.exe asir32gui\ja.dll engine2000\engine.exe mcpp\cpp.exe post-msg-asirgui\cmdasir.exe ..\asir2000\asir.exe curl.exe unzip.exe ) do (
1.1       ohara      15:   copy /b %%i asir\bin
                     16: )
                     17:
1.4       ohara      18: if /i "%Platform%" == "X64" (
                     19:   copy /b mpir\x64\mpir.dll asir\bin
                     20: ) else (
                     21:   copy /b mpir\win32\mpir.dll asir\bin
                     22: )
                     23:
1.1       ohara      24: pushd help
                     25: if not exist ja ( call makehelp2.bat ja )
                     26: if not exist en ( call makehelp2.bat en )
                     27: popd
                     28:
                     29: copy /b help\ja\*.chm asir\help\ja
                     30: copy /b help\en\*.chm asir\help
                     31:
                     32: for %%i in ( asirgui.mac  asir-mode.el install-ja-sjis.txt ) do (
                     33:   copy /b post-msg-asirgui\%%i asir\share\editor
                     34: )
1.2       ohara      35: copy /b ..\asir2000\LICENSE asir
1.5       ohara      36: xcopy /q /s ..\asir2000\lib asir\lib\asir
1.1       ohara      37: del /q asir\lib\Makefile*
                     38: del /q asir\lib\help*.uu
                     39:
1.5       ohara      40: xcopy /q /s  ..\..\OpenXM\src\asir-contrib\packages\src asir\lib\asir-contrib
                     41: copy /b ..\..\OpenXM\src\asir-contrib\testing\noro\ndbf.rr asir\lib\asir-contrib\nn_ndbf.rr
1.1       ohara      42: for %%i in ( de.rr gw.rr module_syz.rr mwl.rr pd.rr rewrite.rr ) do (
1.5       ohara      43:   copy /b ..\..\OpenXM\src\asir-contrib\testing\noro\%%i asir\lib\asir-contrib\noro_%%i
1.1       ohara      44: )
1.5       ohara      45: del /q asir\lib\asir-contrib\Makefile.in
                     46: del /q asir\lib\asir-contrib\y_prime\.keepme
1.1       ohara      47:
1.6       ohara      48: for %%i in ( doc-asir2000.zip doc-asir-contrib.zip doc-other-docs.zip ) do (
1.7       ohara      49:   if not exist ..\..\OpenXM_dist\%%i (
                     50:     curl http://www.math.kobe-u.ac.jp/OpenXM/Current/archive-01/%%i -o ..\..\OpenXM_dist\%%i
                     51:   )
                     52:   unzip ..\..\OpenXM_dist\%%i -d asir
1.6       ohara      53: )
                     54:
1.8     ! ohara      55: echo import("names.rr")$ > asir\share\.asirrc
        !            56: echo end$ >> asir\share\.asirrc
        !            57:
1.1       ohara      58: if /i "%Platform%" == "X64" (
1.3       ohara      59:   zip -r asir_win64_%DATE:/=.%.zip asir
1.1       ohara      60: ) else (
1.3       ohara      61:   zip -r asir_win32_%DATE:/=.%.zip asir
1.1       ohara      62: )
                     63:
                     64: exit /b 0

FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>