File: make1.bat

package info (click to toggle)
cmail 2.62-3
  • links: PTS
  • area: main
  • in suites: sarge
  • size: 2,496 kB
  • ctags: 2,104
  • sloc: lisp: 25,492; makefile: 189; perl: 148; sh: 68
file content (83 lines) | stat: -rwxr-xr-x 2,574 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
@echo off
rem ---
rem --- cmail 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 ---  date $Date: 2002/02/07 01:52:24 $
rem ---  version $Id: make1.bat,v 1.1 2002/02/07 01:52:24 kawamura Exp $


rem --- 
rem ---   elc : oCgRpĈ݁B
rem ---   all, install : CXg[B
rem ---   elc-no-options : oCgRpĈ(IvVȂ)
rem ---   install-no-option : CXg[(IvVȂ)
rem ---   clean : |
rem ---   what-where : CXg[ꏊT[`
rem ---


rem --- ŏ make.bat sĂ邩`FbN
if not "%SUBMAKEOK%"=="OK" goto prnusage
set SUBMAKEOK=

rem --- 
set arg1=%1
if "%arg1%"=="elc" goto compile
if "%arg1%"=="elc-no-options" goto compilenoopt
if "%arg1%"=="all" goto install
if "%arg1%"=="install" goto install
if "%arg1%"=="install-no-options" goto installnoopt
if "%arg1%"=="clean" goto clean
if "%arg1%"=="what-where" goto listing
echo Unrecognized argument: specify either 'elc', 'elc-no-options', 'all',
echo 'install', 'install-no-options', 'clean' or 'what-where'.
goto pauseend

rem --- CXg[
:install
%EMACS% -batch -q -no-site-file -l CMAIL-MK -f install-cmail %PREFIX% NONE %LISPDIR% %INFODIR% %VERSION_SPECIFIC_LISPDIR%
goto end

rem --- CXg[ (options O)
:installnoopt
%EMACS% -batch -q -no-site-file -l CMAIL-MK -f install-cmail-no-options %PREFIX% NONE %LISPDIR% %INFODIR% %VERSION_SPECIFIC_LISPDIR%
goto end

rem --- *.elc̍쐬
:compile
%EMACS%  -batch -q -no-site-file -l CMAIL-MK -f compile-cmail %PREFIX% NONE %LISPDIR% %INFODIR% %VERSION_SPECIFIC_LISPDIR%
goto end

rem --- *.elc̍쐬 (options O)
:compilenoopt
%EMACS%  -batch -q -no-site-file -l CMAIL-MK -f compile-cmail-no-options %PREFIX% NONE %LISPDIR% %INFODIR% %VERSION_SPECIFIC_LISPDIR%
goto end

rem --- |
:clean
del *.elc
del doc\*.info
del *~
del apel\*~
del alel\*.elc
del doc\*~
rem del icon\*~
goto end

rem --- CXg[̃Xg
:listing
%EMACS% -batch -q -no-site-file -l CMAIL-MK -f what-where-cmail %PREFIX% NONE %LISPDIR% %INFODIR% %VERSION_SPECIFIC_LISPDIR%
goto end

rem --- ̃t@C͒P̂Ŏŝł͂Ȃ|\
:prnusage
echo This file should not be executed by itself. Use make.bat.

rem --- [UG[ǂ񂾂̂mF
:pauseend
echo Type any key when you're done reading the error message.
pause

:end