Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

* README.ja: Updated as to MAKEIT.BAT and MAKE1.BAT.

* make1.bat: New file.
* makeit.bat: Ditto.
* make.bat: Removed.
  • Loading branch information...
commit 41528811751bfbbdb7dfb0c8bade715ce7da700b 1 parent f31211e
minakaji authored
Showing with 375 additions and 73 deletions.
  1. +7 −0 ChangeLog
  2. +97 −24 README.ja
  3. +0 −49 make.bat
  4. +56 −0 make1.bat
  5. +215 −0 makeit.bat
View
7 ChangeLog
@@ -1,3 +1,10 @@
+2001-02-01 NAKAJIMA Mikio <minakaji@osaka.email.ne.jp>
+
+ * README.ja: Updated as to MAKEIT.BAT and MAKE1.BAT.
+ * make1.bat: New file.
+ * makeit.bat: Ditto.
+ * make.bat: Removed.
+
2001-01-18 Katsumi Yamaoka <yamaoka@jpl.org>
* inv-19.el (next-visible-point): Return the value of `point-max'
View
121 README.ja
@@ -112,9 +112,9 @@ Emacs $B$K$h$kJT=8$N:]!":G=*=$@5;~9o$rJ]B8$9$k$?$a$N%f!<%F%#%j%F%#!#(B
** $BE83+$7$?>l=j$G<B9T(B
$BB>$N%G%#%l%/%H%j!<$K%$%s%9%H!<%k$7$?$/$J$$$J$i!"0J2<$N$3$H$@$1$r$d$C$F(B
-$B$/$@$5$$(B (MS-DOS $B7O$N(B OS $B$N$?$a$K(B make.bat $B$,MQ0U$5$l$F$$$^$9!#(B
-make.bat $B$NMxMQ$K$D$$$F$O2<5-!V(Bmake.bat $B$rMxMQ$9$k(B (MS-DOS $B7O(B OS $B$N>l(B
-$B9g(B)$B!W$r;2>H$7$F2<$5$$(B)$B!#(B:
+$B$/$@$5$$(B (MS-DOS $B7O$N(B OS $B$N$?$a$K(B MAKEIT.BAT $B$,MQ0U$5$l$F$$$^$9!#(B
+MAKEIT.BAT $B$NMxMQ$K$D$$$F$O2<5-!V(BMAKEIT.BAT $B$rMxMQ$9$k(B (MS-DOS $B7O(B OS
+$B$N>l9g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$B$rJT=8$9$k$3$H$,I,MW$G$9!#0BA4$N$?$a$9(B
+$B$Y$F$N4D6-JQ?t$N%G%U%)%k%H$NCM$O6uJ8;zNs$K$J$C$F$$$^$9!#$*;H$$$N%7%9%F(B
+$B%`$K$"$o$;$F$3$l$i$NJQ?t$r;XDj$7$F$/$@$5$$!#(B
-make.bat $B$G%G%#%U%)%k%H$GM-8z$K$J$C$F$$$k@_Dj$O!"(B
+$B3+H/!"F0:n3NG'$,(B Windows $B$G$7$+9T$J$o$l$F$$$J$$$?$a!"8E$$%P!<%8%g%s$N(B
+DOS $B$G$OF0:n$7$J$$2DG=@-$,$"$j$^$9!#ITET9g$rH/8+$7$?J}$O(B
+apel-ja@m17n.org $B$^$G$4O"Mm2<$5$$!#(B
- set MEADOWVER=1.10
- set PREFIX=c:\usr\meadow
- set EMACS=%PREFIX%\%MEADOWVER%\bin\meadow95.exe
+*** MAKEIT.BAT $B$NJT=8(B
+
+DOS $B$N%P%C%A%U%!%$%k$NCf$G$O(B `rem' $B$,9TF,$K$"$k9T$O%3%a%s%H$H$7$F07$o(B
+$B$l$^$9!#I,MW$K1~$8!"(BMAKEIT.BAT $B$N3F9TF,$K(B `rem' $B$rA^F~$7$?$j!"$^$?$O:o(B
+$B=|$7$?$j$7$F2<$5$$!#(B
+
+$B$^$?!"%P%C%A%U%!%$%kFb$N(B `%$BJQ?tL>(B%' $B$O<B9T;~$N4D6-JQ?t$NCM$HCV$-49$($i(B
+$B$l$^$9!#(B
+
+c:\usr\Meadow $B$K%$%s%9%H!<%k$5$l$F$$$k(B 1.10 $B$N(B Meadow $B$r;HMQ(B
+$B$7$F$$$k>l9g$NJQ?t@_Dj$NNc$r5s$2$^$9!#(B
+
+ set PREFIX=c:\usr\Meadow
+ set EMACS=%PREFIX%\1.10\bin\meadow95.exe
+ set EXEC_PREFIX=
set LISPDIR=%PREFIX%\site-lisp
- set VLISPDIR=%PREFIX%\%MEADOWVER%\site-lisp
+ set VERSION_SPECIFIC_LISPDIR=%PREFIX%\1.10\site-lisp
+ set DEFAULT_MAKE_ARG=elc
-$B$G!"(Bmeadow $B$N%P%$%J%j$,(B c:\usr\meadow\1.10\bin\meadow95.exe $B$K%$%s%9(B
-$B%H!<%k$5$l$F$$$k$3$H$rA0Ds$K$7$F$$$^$9!#$=$NA0Ds$K4p$E$-!"(BAPEL $B$N%b(B
-$B%8%e!<%k$N$&$A!"(Bmeadow $B$N%P!<%8%g%s$K0MB8$7$J$$%b%8%e!<%k$r(B
+$B>e5-$NNc$G$O!"(Bmeadow $B$N%P%$%J%j$,(B c:\usr\Meadow\1.10\bin\meadow95.exe
+$B$K%$%s%9%H!<%k$5$l$F$$$k$3$H$rA0Ds$K$7$F$$$^$9!#$=$NA0Ds$K4p$E$-!"(BAPEL
+$B$N%b%8%e!<%k$N$&$A!"(Bmeadow $B$N%P!<%8%g%s$K0MB8$7$J$$%b%8%e!<%k$r(B
- c:\usr\meadow\site-lisp
+ c:\usr\Meadow\site-lisp
$B$K!"%P!<%8%g%s$K0MB8$9$k%b%8%e!<%k$r(B
- c:\usr\meadow\1.10\site-lisp
+ c:\usr\Meadow\1.10\site-lisp
-$B$K%$%s%9%H!<%k$7$h$&$H$7$^$9!#>e5-$NNc$r;29M$K!"<+J,$N4D6-MQ$N@_Dj$r=q(B
-$B$-9~$s$G(B make.bat $B$rF0$+$7$F2<$5$$!#(B
+$B$K%$%s%9%H!<%k$7$h$&$H$7$^$9!#(B
19.3x $B0JA0$N(B Emacs ($BNc$($P(B 19.28 $B%Y!<%9$N(B Mule for Windows) $B$K$O%P!<%8%g(B
$B%s0MB8$N(B site-lisp $B%G%#%l%/%H%j(B ($B>e5-$NNc$G8@$($P(B
-c:\usr\meadow\1.10\site-lisp) $B$,B8:_$;$:!"%G%#%U%)%k%H$G$O(B load-path $B$b(B
+c:\usr\Meadow\1.10\site-lisp) $B$,B8:_$;$:!"%G%#%U%)%k%H$G$O(B load-path $B$b(B
$BDL$C$F$$$^$;$s!#$3$N>l9g$O(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B
+
+$BM%@h=g$KJB$Y$k$H2<5-$N$h$&$K$J$j$^$9!#2<5-$N(B 1-x $B$O(B apel $B@lMQ!"(B2-x $B$O(B
+$BF1<o$N(B MAKEIT.BAT $B$rMxMQ$7$F$$$k(B cmail, skk $B$H6&DL$7$FMxMQ$9$k$3$H$,$G(B
+$B$-$^$9!#(B
+
+ 1-1. %HOME%\.elispmk.apel.bat
+ 1-2. %HOME%\elisp\elispmk.apel.bat
+ 1-3. %HOME%\config\elispmk.apel.bat
+ 1-4. c:\Program Files\Meadow\elispmk.apel.bat
+ 1-5. c:\Meadow\elispmk.apel.bat
+ 1-6. d:\Meadow\elispmk.apel.bat
+
+ 2-1. %HOME%\.elispmk.bat
+ 2-2. %HOME%\elisp\elispmk.bat
+ 2-3. %HOME%\config\elispmk.bat
+ 2-4. c:\Program Files\Meadow\elispmk.bat
+ 2-5. c:\Meadow\elispmk.bat
+ 2-6. d:\Meadow\elispmk.bat
+
+*** $B%P%C%A%U%!%$%k<B9T;~$NCm0U(B
+
+MAKEIT.BAT, MAKE1.BAT $B$O4D6-JQ?t$rMxMQ$7$F$$$k$?$a$K!"<B9T;~$K4D6-JQ?t(B
+$B$N$?$a$N%a%b%j3dEv$F$,$G$-$:$K!"%(%i!<$K$J$k$3$H$,$"$j$^$9!#(BWindows $B$r(B
+$BMxMQ$7$F$$$k>l9g$O!"(BDOSPROMPT $B$N%W%m%Q%F%#$G4D6-JQ?t$N=i4|%5%$%:$,!V<+(B
+$BF0!W$K$J$C$F$$$k$H!"4D6-JQ?t$,@_Dj$G$-$J$$$H$$$&%(%i!<$,=P$k$N$G!"E,Ev(B
+$B$JCM(B (2048 $B$J$I(B) $B$rF~$l$F$*$/I,MW$,$"$j$^$9!#(Bnon Windows $B$N(B DOS $B$N>l9g(B
+$B$O!"(Bconfig.sys $B$K(B
+
+ SHELL=C:\COMMAND.COM /E:4096 /P
+
+$B$J$I$H=q$-!"4D6-JQ?t$K3dEv$F2DG=$J%a%b%j$r3NJ]$7$^$9!#(BDOS $B$N%P!<%8%g%s(B
+$B$K$h$C$F(B /E:nnn $B$G;XDj$G$-$k4D6-JQ?tNN0h$N%5%$%:$N@)Ls$,0[$J$j!";XDj$N(B
+$B;EJ}$,0c$C$?$j!"FCDj$NCM$r;XDj$9$k$HIT6q9g$r@8$8$k2DG=@-$,$"$k$N$G>\$7(B
+$B$/$O$4MxMQ$N(B version $B$N%^%K%e%"%kEy$r$4Mw2<$5$$!#(B
+
+*** Windows $B$N(B cvs.exe $B$G%A%'%C%/%"%&%H$7$?(B MAKEIT.BAT $B$rMxMQ$9$k>l9g$NLdBjE@(B
+
$B$J$*!"(BWindows $B%M%$%F%#%V$N(B cvs.exe (not cygwin) $B$rMxMQ$7$F(B APEL $B$r(B
checkout $B$7$?>l9g$O!"(Bcvs.exe $B$K$h$j9TKv%3!<%I$,@55,2=$5$l$F(B CRCRLF $B$K(B
-$B$J$C$F$$$k2DG=@-$,$"$j$^$9!#$3$N$h$&$J>l9g!"(Bmake.bat $B$OF0$-$^$;$s$N$G(B
-$B9TKv%3!<%I$r(B CRLF $B$K=$@5$7$F$*;H$$2<$5$$!#$3$NLdBj$K$D$$$F>\$7$/$O!"(B
+$B$J$C$F$$$k2DG=@-$,$"$j$^$9!#$3$N$h$&$J>l9g!"(BMAKEIT.BAT, MAKE1.BAT $B$OF0(B
+$B$-$^$;$s$N$G9TKv%3!<%I$r(B CRLF $B$K=$@5$7$F$*;H$$2<$5$$!#$3$NLdBj$K$D$$$F(B
+$B>\$7$/$O!"(B
http://openlab.ring.gr.jp/skk/cvswin-ja.html
View
49 make.bat
@@ -1,49 +0,0 @@
-@echo off
-rem MAKE.BAT for APEL.
-rem ********************************************************************
-rem * Edit following lines to set PREFIX, EMACS, LISPDIR and VLISPDIR *
-rem * according to your environment *
-rem ********************************************************************
-rem * for Meadow *
-rem * If you use Meadow on Windows NT, use meadowNT.exe instead of *
-rem * meadow95.exe *
-set MEADOWVER=1.10
-set PREFIX=c:\usr\meadow
-set EMACS=%PREFIX%\%MEADOWVER%\bin\meadow95.exe
-set LISPDIR=%PREFIX%\site-lisp
-set VLISPDIR=%PREFIX%\%MEADOWVER%\site-lisp
-rem
-rem ********************************************************************
-rem * for Mule for Windows *
-rem set PREFIX=c:\usr\mule
-rem set EMACS=%PREFIX%\bin\mule.exe
-rem set LISPDIR=%PREFIX%\site-lisp
-rem set VLISPDIR=%LISPDIR%
-rem
-rem ********************************************************************
-rem * for Demacs *
-rem * Please add examples for Demacs *
-rem
-rem ********************************************************************
-
-set arg1=%1
-if "%arg1%"=="install" goto install
-if "%arg1%"=="what-where" goto listing
-if "%arg1%"=="clean" goto clean
-
-:install
-%EMACS% -q -batch -no-site-file -l APEL-MK -f compile-apel NONE %LISPDIR% %VLISPDIR%
-%EMACS% -q -batch -no-site-file -l APEL-MK -f install-apel NONE %LISPDIR% %VLISPDIR%
-goto end
-
-:listing
-%EMACS% -batch -q -no-site-file -l APEL-MK -f what-where-apel
-goto end
-
-:clean
-del *.elc
-del *~
-del .#~
-
-:end
-
View
56 make1.bat
@@ -0,0 +1,56 @@
+echo off
+rem MAKE1.BAT for APEL.
+rem
+rem Version: $Id$
+rem Last Modified: $Date$
+
+rem --- argument
+rem --- elc : byte compile
+rem --- all, install : install
+rem --- clean : cleaning garbage file
+rem --- what-where : print where to install
+rem ---
+
+rem --- check calling from make.bat
+if not "%SUBMAKEOK%"=="OK" goto prnusage
+set SUBMAKEOK=
+
+rem argument check
+
+set arg1=%1
+
+if "%arg1%"=="elc" goto compile
+if "%arg1%"=="all" goto install
+if "%arg1%"=="install" goto install
+if "%arg1%"=="what-where" goto listing
+if "%arg1%"=="clean" goto clean
+echo Unrecognized argument: specify either 'elc', 'all',
+echo 'install', 'clean' or 'what-where'.
+goto pauseend
+
+:compile
+%EMACS% -q -batch -no-site-file -l APEL-MK -f compile-apel NONE %LISPDIR% %VLISPDIR%
+goto end
+
+:install
+%EMACS% -q -batch -no-site-file -l APEL-MK -f install-apel NONE %LISPDIR% %VLISPDIR%
+goto end
+
+:listing
+%EMACS% -batch -q -no-site-file -l APEL-MK -f what-where-apel
+goto end
+
+:clean
+del *.elc
+
+rem --- This file should not be executed by itself. Use make.bat.
+:prnusage
+echo This file should not be executed by itself. Use make.bat.
+
+rem --- If error occurs, stay display until any key is typed.
+:pauseend
+echo Type any key when you're done reading the error message.
+pause
+
+:end
+
View
215 makeit.bat
@@ -0,0 +1,215 @@
+@echo off
+rem ---
+rem --- common install batch file for Meadow & NTEmacs
+rem --- 1999/07/07, Masaki YATSU mailto:yatsu@aurora.dti.ne.jp
+rem --- cmail ML member
+rem --- modified 1999/12/01, Yuh Ohmura, mailto:yutopia@t3.rim.or.jp
+rem --- modified 2000/12/26, Takeshi Morishima mailto:tm@interaccess.com
+rem --- date $Date$
+rem --- version $Id$
+
+set ELISPMK_APP=apel
+
+rem --- Japanese Comments:
+rem ---
+rem --- 引数
+rem --- 引数については make1.bat のコメントを参照してください.
+rem --- makeit.bat は、インストールの環境変数を設定した後に
+rem --- make1.bat を呼出してインストールを行います。
+rem ---
+rem --- 変数設定
+rem --- このコメントのあとにある PREFIX, EMACS, EXEC_PREFIX, LISPDIR,
+rem --- INFODIR, VERSION_SPECIFIC_LISPDIR の各変数を,お使いの環境に
+rem --- 適当に合せて設定してください.
+rem --- 特に,EMACS の値を,
+rem --- Windows95/98 を利用されている方は meadow95.exe
+rem --- WindowsNT4.0 を利用されている方は meadownt.exe
+rem --- NTEmacs を利用されている方は emacs.exe
+rem --- を指定するのを忘れないように.
+rem ---
+rem --- 適宜指定が終った makeit.bat は下のいずれかのファイルとして
+rem --- コピーしておくとそちらを優先して実行します。(アップグレード
+rem --- の際に makeit.bat を再編集する必要がありません.) 優先順に:
+rem ---
+rem --- 1-1. %HOME%\.elispmk.%ELISPMK_APP%.bat
+rem --- 1-2. %HOME%\elisp\elispmk.%ELISPMK_APP%.bat
+rem --- 1-3. %HOME%\config\elispmk.%ELISPMK_APP%.bat
+rem --- 1-4. c:\Program Files\Meadow\elispmk.%ELISPMK_APP%.bat
+rem --- 1-5. c:\Meadow\elispmk.%ELISPMK_APP%.bat
+rem --- 1-6. d:\Meadow\elispmk.%ELISPMK_APP%.bat
+rem ---
+rem --- 2-1. %HOME%\.elispmk.bat
+rem --- 2-2. %HOME%\elisp\elispmk.bat
+rem --- 2-3. %HOME%\config\elispmk.bat
+rem --- 2-4. c:\Program Files\Meadow\elispmk.bat
+rem --- 2-5. c:\Meadow\elispmk.bat
+rem --- 2-6. d:\Meadow\elispmk.bat
+rem ---
+rem --- となります。
+rem ---
+rem --- English Comments:
+rem ---
+rem --- Arguments
+rem --- Please refer to comment section of make1.bat. Makeit.bat
+rem --- will perform installation procedure by executing make1.bat.
+rem ---
+rem --- Specifying variables
+rem --- After this comment section, PREFIX, EMACS, EXEC_PREFIX,
+rem --- LISPDIR, INFODIR, VERSION_SPECIFIC_LISPDIR is defined using
+rem --- 'set' batch command. Please specify them appropriately
+rem --- according to your Emacs environment. Especially remember to set
+rem --- the EMACS variable to meadow95.exe if you use Meadow on
+rem --- Windows95/98, or to meadownt.exe if you use Meadow on
+rem --- WindowsNT4.0, or to emacs.exe if you use NTEmacs.
+rem ---
+rem --- After modification, you may make a copy of makeit.bat as a pre-
+rem --- configured file as one of the following name. Any future
+rem --- execution of makeit.bat will automatically use this pre-
+rem --- configured batch file instead of makeit.bat itself. (When
+rem --- upgrading new distribution file for example, you do not have to
+rem --- make modification to makeit.bat again.) A pre-configured batch
+rem --- file is searched in order listed below:
+rem ---
+rem --- 1-1. %HOME%\.elispmk.%ELISPMK_APP%.bat
+rem --- 1-2. %HOME%\elisp\elispmk.%ELISPMK_APP%.bat
+rem --- 1-3. %HOME%\config\elispmk.%ELISPMK_APP%.bat
+rem --- 1-4. c:\Program Files\Meadow\elispmk.%ELISPMK_APP%.bat
+rem --- 1-5. c:\Meadow\elispmk.%ELISPMK_APP%.bat
+rem --- 1-6. d:\Meadow\elispmk.%ELISPMK_APP%.bat
+rem ---
+rem --- 2-1. %HOME%\.elispmk.bat
+rem --- 2-2. %HOME%\elisp\elispmk.bat
+rem --- 2-3. %HOME%\config\elispmk.bat
+rem --- 2-4. c:\Program Files\Meadow\elispmk.bat
+rem --- 2-5. c:\Meadow\elispmk.bat
+rem --- 2-6. d:\Meadow\elispmk.bat
+
+rem --- 変数設定の例 (Example of variable definition)
+rem --- c:\usr\Meadow にインストールされている 1.10 の Meadow を使用
+rem --- している場合の設定例. (An example of variable definition. In
+rem --- this example, Meadow 1.10 installed in c:\usr\Meadow directory
+rem --- is used.)
+rem --- set PREFIX=c:\usr\Meadow
+rem --- set EMACS=%PREFIX%\1.10\bin\meadow95.exe
+rem --- set EXEC_PREFIX=
+rem --- set LISPDIR=%PREFIX%\site-lisp
+rem --- set VERSION_SPECIFIC_LISPDIR=%PREFIX%\1.10\site-lisp
+rem --- set DEFAULT_MAKE_ARG=elc
+rem --- 安全のためデフォルトの値はすべて空文字列になっています。お使い
+rem --- のシステムにあわせてこれらの変数を指定してください。(To take a
+rem --- safe side, default values are all set to null strings. Please
+rem --- specify these variables accordingly for your system.)
+rem --- なお、DEFAULT_MAKE_ARG に可能な値は make1.bat を御覧ください。
+rem --- (Please see make1.bat for possible values of DEFAULT_MAKE_ARG.)
+
+set PREFIX=
+set EMACS=
+set LISPDIR=
+set DEFAULT_MAKE_ARG=
+
+
+rem --- makeit.bat 内から呼ばれている場合は再帰呼び出しをせず make1 を実行
+if not "%ELISPMK%"=="" goto execsubmk
+
+rem ---
+set ELISPMK=%HOME%\.elispmk.%ELISPMK_APP%.bat
+if exist %ELISPMK% goto execelmkb
+set ELISPMK=%HOME%\elisp\elispmk.%ELISPMK_APP%.bat
+if exist %ELISPMK% goto execelmkb
+set ELISPMK=%HOME%\config\elispmk.%ELISPMK_APP%.bat
+if exist %ELISPMK% goto execelmkb
+set ELISPMK="c:\Program Files\Meadow\elispmk.%ELISPMK_APP%.bat"
+if exist %ELISPMK% goto execelmkb
+set ELISPMK=c:\Meadow\elispmk.%ELISPMK_APP%.bat
+if exist %ELISPMK% goto execelmkb
+set ELISPMK=d:\Meadow\elispmk.%ELISPMK_APP%.bat
+if exist %ELISPMK% goto execelmkb
+rem ---
+set ELISPMK=%HOME%\.elispmk.bat
+if exist %ELISPMK% goto execelmkb
+set ELISPMK=%HOME%\elisp\elispmk.bat
+if exist %ELISPMK% goto execelmkb
+set ELISPMK=%HOME%\config\elispmk.bat
+if exist %ELISPMK% goto execelmkb
+set ELISPMK="c:\Program Files\Meadow\elispmk.bat"
+if exist %ELISPMK% goto execelmkb
+set ELISPMK=c:\Meadow\elispmk.bat
+if exist %ELISPMK% goto execelmkb
+set ELISPMK=d:\Meadow\elispmk.bat
+if exist %ELISPMK% goto execelmkb
+
+echo ----
+echo INFORMATIVE: No pre-configured batch (e.g. ~/.elispmk.bat
+echo INVORMATIVE: or ~/.elispmk.%ELISPMK_APP%.bat) found.
+echo INFORMATIVE: You may create one for your convenience.
+echo INFORMATIVE: See comments in makeit.bat.
+echo ----
+
+:execsubmk
+set ELISPMK=
+rem --- %EMACS% が場合はエラー終了する
+if "%EMACS%"=="" goto errnotspecified
+if not exist "%EMACS%" goto errnonexistent
+
+rem --- MAKE1.BAT Control
+set SUBMAKEOK=OK
+
+echo ----
+echo Executing make1.bat in the current directory using the folloiwing env.
+echo HOME=%HOME%
+echo PREFIX=%PREFIX%
+echo EMACS=%EMACS%
+echo EXEC_PREFIX=%EXEC_PREFIX%
+echo LISPDIR=%LISPDIR%
+echo INFODIR=%INFODIR%
+echo VERSION_SPECIFIC_LISPDIR=%VERSION_SPECIFIC_LISPDIR%
+echo ----
+
+set ARG=%1
+if "%ARG%"=="" set ARG=%DEFAULT_MAKE_ARG%
+
+echo Executing .\make1.bat with argument=%ARG%
+.\make1.bat %ARG%
+
+echo Error: for some reason .\make1.bat could not be executed.
+echo Please check if .\make1.bat exists and correct.
+goto pauseend
+
+:execelmkb
+echo ----
+echo Found %ELISPMK%. Executing it...
+echo ----
+%ELISPMK% %1
+echo Error: for some reason %ELISPMK% could not be executed.
+echo Please check if ELISPMK=%ELISPMK% exists and correct.
+goto printenv
+
+rem --- %EMACS% が設定されていない
+:errnotspecified
+echo Error: Environment variable EMACS is not specified.
+goto printenv
+
+rem --- %EMACS% に設定されているファイルが存在しない
+:errnonexistent
+echo Error: EMACS=%EMACS% does not exist.
+
+:printenv
+echo ----
+echo Check correctness of the following environment variables.
+echo HOME=%HOME%
+echo PREFIX=%PREFIX%
+echo EMACS=%EMACS%
+echo EXEC_PREFIX=%EXEC_PREFIX%
+echo LISPDIR=%LISPDIR%
+echo INFODIR=%INFODIR%
+echo VERSION_SPECIFIC_LISPDIR=%VERSION_SPECIFIC_LISPDIR%
+echo DEFAULT_MAKE_ARG=%DEFAULT_MAKE_ARG%
+echo See comments in makeit.bat and make1.bat for setup instruction.
+echo ----
+
+:pauseend
+echo Type any key when you're done reading the error message.
+pause
+
+rem --- end of makeit.bat
+:end
Please sign in to comment.
Something went wrong with that request. Please try again.