Commit | Line | Data |
---|---|---|
cebc7051 EZ |
1 | # -sedleim.inp----------------------------------------------------------- |
2 | # Configuration script for leim/Makefile under DJGPP v2.x | |
3 | # ---------------------------------------------------------------------- | |
d7fcecc1 | 4 | # |
62eda0e2 | 5 | # Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, |
f5d0ac07 | 6 | # 2005, 2006, 2007, 2008, 2009 Free Software Foundation, Inc. |
d7fcecc1 EZ |
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 | ||
ad89ba2b EZ |
31 | /touch stamp-subdir/s|touch|djecho "stamp-subdir" >| |
32 | s|\([ ]\)echo|\1djecho|g | |
1daf07a2 | 33 | /^ @true *$/d |
ad89ba2b | 34 | |
97ea7b55 EZ |
35 | /RUN-EMACS *=/,/^$/c\ |
36 | export EMACSLOADPATH=${buildlisppath}\ | |
37 | RUN-EMACS = ${BUILT-EMACS} -batch --no-init-file --no-site-file --multibyte | |
38 | ||
cebc7051 EZ |
39 | /^ cd ../c\ |
40 | ${MAKE} -C ../src ${MFLAGS} emacs | |
41 | ||
42 | /else make quail/c\ | |
43 | if not exist quail\\nul make quail | |
44 | ||
e5551cec EZ |
45 | /if \[ -f $@ \]\; then true/d |
46 | /fi$/s/; fi$// | |
47 | ||
cebc7051 EZ |
48 | /^leim-list.el:/,/^$/ { |
49 | /^ if/d | |
50 | /^ else/,/^ fi/d | |
51 | s| *| | | |
52 | /^ --eval/,/; \\$/s|\; \\|| | |
53 | } | |
54 | ||
55 | /^install:/,/^$/c\ | |
56 | install: all\ | |
57 | ||
cebc7051 | 58 | /^ if test -f/d |
ad89ba2b EZ |
59 | /^distclean:/,/^$/ { |
60 | s|\(rm -f Makefile\)|\1 stamp-subdir| | |
61 | } | |
ab5796a9 MB |
62 | |
63 | # arch-tag: 33c5eed1-78bc-4a6e-9d11-cbc7c541b763 |