File: make.bat

package info (click to toggle)
ecb 2.40%2Bgit20140216-2
  • links: PTS, VCS
  • area: main
  • in suites: buster, stretch
  • size: 5,880 kB
  • ctags: 1,890
  • sloc: lisp: 28,150; makefile: 259; sh: 43
file content (74 lines) | stat: -rwxr-xr-x 2,916 bytes parent folder | download | duplicates (3)
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
@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 <mayhem@home.se>
REM         Klaus Berndl <klaus.berndl@sdm.de>
REM         Kevin A. Burton <burton@openprivacy.org>
REM Maintainer: Klaus Berndl <klaus.berndl@sdm.de>
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$

REM ******************************************************
REM *  Do not use make.bat when using Emacs >= 23.2!     *
REM *  With Emacs 23.2 byte-compiling is only supported  *
REM *  by the shipped Makefile!                          *
REM ******************************************************

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