Annotation of OpenXM_contrib2/windows/makepkg.bat, Revision 1.4
1.4 ! ohara 1: @rem $OpenXM: OpenXM_contrib2/windows/makepkg.bat,v 1.3 2013/11/16 16:25:48 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:
12: mkdir asir\bin asir\help\ja asir\lib asir\lib-asir-contrib asir\share\editor
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.1 ohara 36: xcopy /q /s ..\asir2000\lib asir\lib
37: del /q asir\lib\Makefile*
38: del /q asir\lib\help*.uu
39:
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
42: for %%i in ( de.rr gw.rr module_syz.rr mwl.rr pd.rr rewrite.rr ) do (
43: copy /b ..\..\OpenXM\src\asir-contrib\testing\noro\%%i asir\lib-asir-contrib\noro_%%i
44: )
1.2 ohara 45: del /q asir\lib-asir-contrib\Makefile.in
46: del /q asir\lib-asir-contrib\y_prime\.keepme
1.1 ohara 47:
48: if /i "%Platform%" == "X64" (
1.3 ohara 49: zip -r asir_win64_%DATE:/=.%.zip asir
1.1 ohara 50: ) else (
1.3 ohara 51: zip -r asir_win32_%DATE:/=.%.zip asir
1.1 ohara 52: )
53:
54: exit /b 0
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>