version 1.6, 2014/05/13 20:13:48 |
version 1.12, 2019/03/28 08:03:07 |
|
|
@rem $OpenXM: OpenXM_contrib2/windows/makepkg.bat,v 1.5 2014/05/09 18:32:13 ohara Exp $ |
@rem $OpenXM: OpenXM_contrib2/windows/makepkg.bat,v 1.11 2015/08/25 22:23:56 ohara Exp $ |
@echo off |
@echo off |
|
|
if exist asir ( rmdir /q /s asir ) |
if exist asir ( rmdir /q /s asir ) |
Line 9 if /i "%Platform%" == "X64" ( |
|
Line 9 if /i "%Platform%" == "X64" ( |
|
if not exist asir32gui\asirgui.exe ( call makebin32.bat ) |
if not exist asir32gui\asirgui.exe ( call makebin32.bat ) |
) |
) |
|
|
mkdir asir\bin asir\help\ja asir\lib\asir asir\lib\asir-contrib asir\share\editor asir\doc\asir2000 asir\doc\asir-contrib |
mkdir asir\bin asir\help\ja asir\lib\asir asir\lib\asir-contrib asir\share\editor asir\share\skel |
|
|
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 ( |
for %%i in ( asir32gui\asirgui.exe asir32gui\ja.dll engine2000\engine.exe mcpp\cpp.exe post-msg-asirgui\cmdasir.exe ..\asir2018\asir.exe curl.exe unzip.exe ) do ( |
copy /b %%i asir\bin |
copy /b %%i asir\bin |
) |
) |
|
|
if /i "%Platform%" == "X64" ( |
if /i "%Platform%" == "X64" ( |
copy /b mpir\x64\mpir.dll asir\bin |
copy /b mpir\x64\*.dll asir\bin |
) else ( |
) else ( |
copy /b mpir\win32\mpir.dll asir\bin |
copy /b mpir\win32\*.dll asir\bin |
) |
) |
|
|
pushd help |
pushd help |
|
|
copy /b help\ja\*.chm asir\help\ja |
copy /b help\ja\*.chm asir\help\ja |
copy /b help\en\*.chm asir\help |
copy /b help\en\*.chm asir\help |
|
|
|
echo import("names.rr")$ > asir\share\skel\.asirrc |
|
echo end$ >> asir\share\skel\.asirrc |
|
|
for %%i in ( asirgui.mac asir-mode.el install-ja-sjis.txt ) do ( |
for %%i in ( asirgui.mac asir-mode.el install-ja-sjis.txt ) do ( |
copy /b post-msg-asirgui\%%i asir\share\editor |
copy /b post-msg-asirgui\%%i asir\share\editor |
) |
) |
copy /b ..\asir2000\LICENSE asir |
copy /b ..\asir2018\LICENSE asir |
xcopy /q /s ..\asir2000\lib asir\lib\asir |
copy /b gmp\COPYING.LIB asir |
|
xcopy /q /s ..\asir2018\lib asir\lib\asir |
del /q asir\lib\Makefile* |
del /q asir\lib\Makefile* |
del /q asir\lib\help*.uu |
del /q asir\lib\help*.uu |
|
|
Line 45 for %%i in ( de.rr gw.rr module_syz.rr mwl.rr pd.rr re |
|
Line 49 for %%i in ( de.rr gw.rr module_syz.rr mwl.rr pd.rr re |
|
del /q asir\lib\asir-contrib\Makefile.in |
del /q asir\lib\asir-contrib\Makefile.in |
del /q asir\lib\asir-contrib\y_prime\.keepme |
del /q asir\lib\asir-contrib\y_prime\.keepme |
|
|
|
|
curl -O http://www.math.kobe-u.ac.jp/OpenXM/Current/archive-01/doc-{asir2000,asir-contrib,other-docs}.zip |
|
pushd asir |
|
for %%i in ( doc-asir2000.zip doc-asir-contrib.zip doc-other-docs.zip ) do ( |
for %%i in ( doc-asir2000.zip doc-asir-contrib.zip doc-other-docs.zip ) do ( |
..\unzip ..\%%i |
if not exist ..\..\OpenXM_dist\%%i ( |
|
curl http://www.math.kobe-u.ac.jp/OpenXM/Current/archive-01/%%i -o ..\..\OpenXM_dist\%%i |
|
) |
|
unzip ..\..\OpenXM_dist\%%i -d asir |
) |
) |
popd |
|
|
|
if /i "%Platform%" == "X64" ( |
if /i "%Platform%" == "X64" ( |
zip -r asir_win64_%DATE:/=.%.zip asir |
zip -r asir_win64_%DATE:/=.%.zip asir |