| 1 |
echo off |
| 2 |
rem MAKE1.BAT for SKK. |
| 3 |
rem Copyright (C) 1999 Yuh Ohmura, mailto:[email protected] |
| 4 |
rem |
| 5 |
rem Author: Yuh Ohmura, mailto:[email protected] |
| 6 |
rem Maintainer: SKK Development Team |
| 7 |
rem URL: https://github.com/skk-dev/ddskk |
| 8 |
rem Created: March 23, 1999 |
| 9 |
|
| 10 |
rem --- modified 2017/03/12, Tsuyoshi Kitamoto <[email protected]> |
| 11 |
|
| 12 |
rem --- check calling from makeit.bat |
| 13 |
if not "%SUBMAKEOK%"=="OK" goto prnusage |
| 14 |
set SUBMAKEOK= |
| 15 |
|
| 16 |
rem argument check |
| 17 |
|
| 18 |
set arg1=%1 |
| 19 |
|
| 20 |
if "%arg1%"=="elc" goto compile |
| 21 |
if "%arg1%"=="install" goto install |
| 22 |
if "%arg1%"=="clean" goto clean |
| 23 |
|
| 24 |
echo Unrecognized argument: specify either |
| 25 |
echo elc : byte compile |
| 26 |
echo install : install |
| 27 |
echo clean : cleaning garbage file |
| 28 |
goto pauseend |
| 29 |
|
| 30 |
:compile |
| 31 |
%EMACS% -batch -q -no-site-file -l NICOLA-DDSKK-MK -f compile-nicola-ddskk |
| 32 |
goto end |
| 33 |
|
| 34 |
:install |
| 35 |
%EMACS% -batch -q -no-site-file -l NICOLA-DDSKK-MK -f install-nicola-ddskk |
| 36 |
goto end |
| 37 |
|
| 38 |
:clean |
| 39 |
del *.elc auto-autoloads.el custom-load.el nicola-ddskk-autoloads.el |
| 40 |
|
| 41 |
goto end |
| 42 |
|
| 43 |
rem --- This file should not be executed by itself. Use makeit.bat. |
| 44 |
:prnusage |
| 45 |
echo This file should not be executed by itself. Use makeit.bat. |
| 46 |
|
| 47 |
rem --- If error occurs, stay display until any key is typed. |
| 48 |
:pauseend |
| 49 |
echo Type any key when you're done reading the error message. |
| 50 |
pause |
| 51 |
|
| 52 |
:end |
| 53 |
|