-
Notifications
You must be signed in to change notification settings - Fork 0
/
make.bat
executable file
·69 lines (47 loc) · 2.6 KB
/
make.bat
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
@echo off
REM This batchfile byte-compiles the ECB lisp files.
REM Copyright (C) 2000 - 2005 Jesper Nordenberg,
REM Klaus Berndl,
REM Kevin A. Burton,
REM Free Software Foundation, Inc.
REM Author: Jesper Nordenberg <[email protected]>
REM Klaus Berndl <[email protected]>
REM Kevin A. Burton <[email protected]>
REM Maintainer: Klaus Berndl <[email protected]>
REM Keywords: browser, code, programming, tools
REM Created: 2001
REM This program is free software; you can redistribute it and/or modify it under
REM the terms of the GNU General Public License as published by the Free Software
REM Foundation; either version 2, or (at your option) any later version.
REM This program is distributed in the hope that it will be useful, but WITHOUT
REM ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
REM FOR A PARTICULAR PURPOSE. See the GNU General Public License for more
REM details.
REM You should have received a copy of the GNU General Public License along with
REM GNU Emacs; see the file COPYING. If not, write to the Free Software
REM Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
REM $Id: make.bat,v 1.29 2009/04/21 15:23:22 berndl Exp $
REM Make sure you byte-compile ECB with the semantic, eieio and
REM speedbar-version you load into (X)Emacs (see below)!
REM =======================================================================
REM user configurable section
REM Define here the correct paths to your (X)Emacs-executable and the
REM required CEDET-package (use always FORWARD SLASHES in the paths!)
set EMACS=C:/Programme/emacs-22.3/bin/emacs.exe
set CEDET=../cedet
REM Call "make" to byte-compile the ECB.
REM If there are any warning messages during byte-compilation (normally
REM there aren't any) you can savely ignore them!
REM end of user configurable section
REM =======================================================================
REM Do not change anything below!
echo Byte-compiling ECB with LOADPATH= %SEMANTIC% %EIEIO% %SPEEDBAR%
if exist ecb-compile-script-init del ecb-compile-script-init
if exist ecb.elc del *.elc
echo (add-to-list 'load-path nil) > ecb-compile-script-init
echo (load-file "%CEDET%/common/cedet.el") >> ecb-compile-script-init
echo (require 'ecb) >> ecb-compile-script-init
echo (setq debug-on-error t) >> ecb-compile-script-init
%EMACS% -batch -no-site-file -l ecb-compile-script-init --eval "(ecb-byte-compile t)"
del ecb-compile-script-init
REM End of make.bat