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

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

1.9     ! ohara       1: @rem $OpenXM: OpenXM_contrib2/windows/makepkg.bat,v 1.8 2014/05/27 21:17:06 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.9     ! ohara      12: mkdir asir\bin asir\help\ja asir\lib\asir asir\lib\asir-contrib asir\share\editor asir\share\skel
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:
1.9     ! ohara      32: echo import("names.rr")$ > asir\share\skel\.asirrc
        !            33: echo end$ >> asir\share\skel\.asirrc
        !            34:
1.1       ohara      35: for %%i in ( asirgui.mac  asir-mode.el install-ja-sjis.txt ) do (
                     36:   copy /b post-msg-asirgui\%%i asir\share\editor
                     37: )
1.2       ohara      38: copy /b ..\asir2000\LICENSE asir
1.5       ohara      39: xcopy /q /s ..\asir2000\lib asir\lib\asir
1.1       ohara      40: del /q asir\lib\Makefile*
                     41: del /q asir\lib\help*.uu
                     42:
1.5       ohara      43: xcopy /q /s  ..\..\OpenXM\src\asir-contrib\packages\src asir\lib\asir-contrib
                     44: copy /b ..\..\OpenXM\src\asir-contrib\testing\noro\ndbf.rr asir\lib\asir-contrib\nn_ndbf.rr
1.1       ohara      45: for %%i in ( de.rr gw.rr module_syz.rr mwl.rr pd.rr rewrite.rr ) do (
1.5       ohara      46:   copy /b ..\..\OpenXM\src\asir-contrib\testing\noro\%%i asir\lib\asir-contrib\noro_%%i
1.1       ohara      47: )
1.5       ohara      48: del /q asir\lib\asir-contrib\Makefile.in
                     49: del /q asir\lib\asir-contrib\y_prime\.keepme
1.1       ohara      50:
1.6       ohara      51: for %%i in ( doc-asir2000.zip doc-asir-contrib.zip doc-other-docs.zip ) do (
1.7       ohara      52:   if not exist ..\..\OpenXM_dist\%%i (
                     53:     curl http://www.math.kobe-u.ac.jp/OpenXM/Current/archive-01/%%i -o ..\..\OpenXM_dist\%%i
                     54:   )
                     55:   unzip ..\..\OpenXM_dist\%%i -d asir
1.6       ohara      56: )
                     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>