Commit | Line | Data |
---|---|---|
cebc7051 EZ |
1 | # -sedleim.inp----------------------------------------------------------- |
2 | # Configuration script for leim/Makefile under DJGPP v2.x | |
3 | # ---------------------------------------------------------------------- | |
d7fcecc1 EZ |
4 | # |
5 | # Copyright (C) 1999, 2000 | |
6 | # Free Software Foundation, Inc. | |
7 | # | |
8 | # This file is part of GNU Emacs. | |
9 | # | |
10 | # This file is free software; as a special exception, the author gives | |
11 | # unlimited permission to copy and/or distribute it, with or without | |
12 | # modifications, as long as this notice is preserved. | |
13 | # | |
14 | # This program is distributed in the hope that it will be useful, | |
15 | # but WITHOUT ANY WARRANTY; without even the implied warranty of | |
16 | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. | |
17 | # | |
18 | # ---------------------------------------------------------------------- | |
cebc7051 | 19 | /^SHELL *=/c\ |
85688389 EZ |
20 | SHELL=/xyzzy/command\ |
21 | MAKESHELL=/xyzzy/command | |
cebc7051 EZ |
22 | |
23 | /^version=/d | |
24 | /^prefix=/d | |
25 | /^datadir=/s|@datadir@|../..| | |
642bbd6f | 26 | /^srcdir=/s|srcdir=@srcdir@|srcdir := $(subst \\,/,$(shell cd))| |
cebc7051 EZ |
27 | |
28 | /^INSTALLDIR=/c\ | |
29 | INSTALLDIR=. | |
30 | ||
97ea7b55 EZ |
31 | /RUN-EMACS *=/,/^$/c\ |
32 | export EMACSLOADPATH=${buildlisppath}\ | |
33 | RUN-EMACS = ${BUILT-EMACS} -batch --no-init-file --no-site-file --multibyte | |
34 | ||
cebc7051 EZ |
35 | /^ cd ../c\ |
36 | ${MAKE} -C ../src ${MFLAGS} emacs | |
37 | ||
38 | /else make quail/c\ | |
39 | if not exist quail\\nul make quail | |
40 | ||
e5551cec EZ |
41 | /if \[ -f $@ \]\; then true/d |
42 | /fi$/s/; fi$// | |
43 | ||
cebc7051 EZ |
44 | /^leim-list.el:/,/^$/ { |
45 | /^ if/d | |
46 | /^ else/,/^ fi/d | |
47 | s| *| | | |
48 | /^ --eval/,/; \\$/s|\; \\|| | |
49 | } | |
50 | ||
51 | /^install:/,/^$/c\ | |
52 | install: all\ | |
53 | ||
cebc7051 | 54 | /^ if test -f/d |