]> code.delx.au - gnu-emacs/blob - msdos/sedleim.inp
Merge from emacs-23; up to 2010-06-22T07:41:10Z!rgm@gnu.org
[gnu-emacs] / msdos / sedleim.inp
1 # -sedleim.inp-----------------------------------------------------------
2 # Configuration script for leim/Makefile under DJGPP v2.x
3 # ----------------------------------------------------------------------
4 #
5 # Copyright (C) 1999-2011 Free Software Foundation, Inc.
6 #
7 # This file is part of GNU Emacs.
8 #
9 # This file is free software; as a special exception, the author gives
10 # unlimited permission to copy and/or distribute it, with or without
11 # modifications, as long as this notice is preserved.
12 #
13 # This program is distributed in the hope that it will be useful,
14 # but WITHOUT ANY WARRANTY; without even the implied warranty of
15 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
16 #
17 # ----------------------------------------------------------------------
18 /^SHELL *=/c\
19 SHELL=/xyzzy/command\
20 MAKESHELL=/xyzzy/command
21
22 /^version=/d
23 /^prefix=/d
24 /^datadir=/s|@datadir@|../..|
25 /^srcdir=/s|srcdir=@srcdir@|srcdir := $(subst \\,/,$(shell cd))|
26
27 /^INSTALLDIR=/c\
28 INSTALLDIR=.
29
30 /touch stamp-subdir/s|touch|djecho "stamp-subdir" >|
31 s|\([ ]\)echo|\1djecho|g
32 /^ @true *$/d
33
34 /RUN_EMACS *=/,/^$/c\
35 export EMACSLOADPATH=${buildlisppath}\
36 RUN_EMACS = ${BUILT_EMACS} -batch --no-site-file
37
38 /^ cd ../c\
39 ${MAKE} -C ../src ${MFLAGS} emacs
40
41 /else make quail/c\
42 if not exist quail\\nul make quail
43
44 /if \[ -f $@ \]\; then true/d
45 /fi$/s/; fi$//
46
47 /^leim-list.el:/,/^$/ {
48 /^ if/d
49 /^ else/,/^ fi/d
50 s| *| |
51 /^ --eval/,/; \\$/s|\; \\||
52 }
53
54 /^install:/,/^$/c\
55 install: all\
56
57 /^ if test -f/d
58 /^distclean:/,/^$/ {
59 s|\(rm -f Makefile\)|\1 stamp-subdir|
60 }
61