Merge from emacs-24; up to 2012-11-30T04:44:52Z!cyd@gnu.org
[bpt/emacs.git] / msdos / sedleim.inp
CommitLineData
cebc7051
EZ
1# -sedleim.inp-----------------------------------------------------------
2# Configuration script for leim/Makefile under DJGPP v2.x
3# ----------------------------------------------------------------------
d7fcecc1 4#
acaf905b 5# Copyright (C) 1999-2012 Free Software Foundation, Inc.
d7fcecc1
EZ
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# ----------------------------------------------------------------------
cebc7051 18/^SHELL *=/c\
85688389
EZ
19SHELL=/xyzzy/command\
20MAKESHELL=/xyzzy/command
cebc7051
EZ
21
22/^version=/d
23/^prefix=/d
24/^datadir=/s|@datadir@|../..|
642bbd6f 25/^srcdir=/s|srcdir=@srcdir@|srcdir := $(subst \\,/,$(shell cd))|
cebc7051
EZ
26
27/^INSTALLDIR=/c\
28INSTALLDIR=.
29
ad89ba2b
EZ
30/touch stamp-subdir/s|touch|djecho "stamp-subdir" >|
31s|\([ ]\)echo|\1djecho|g
1daf07a2 32/^ @true *$/d
ad89ba2b 33
f601db19 34/RUN_EMACS *=/,/^$/c\
97ea7b55 35export EMACSLOADPATH=${buildlisppath}\
b42287d2 36RUN_EMACS = ${EMACS} -batch --no-site-file
97ea7b55 37
0d23c240
EZ
38/^MKDIR_P *=/s,@MKDIR_P@,command.com /c md,
39
cebc7051
EZ
40/^ cd ../c\
41 ${MAKE} -C ../src ${MFLAGS} emacs
42
e5551cec
EZ
43/if \[ -f $@ \]\; then true/d
44/fi$/s/; fi$//
45
cebc7051
EZ
46/^leim-list.el:/,/^$/ {
47 /^ if/d
48 /^ else/,/^ fi/d
49 s| *| |
50 /^ --eval/,/; \\$/s|\; \\||
51}
52
b42287d2
EZ
53/^setwins=/,/^$/d
54/^\.PHONY: compile-targets/d
55/^compile-targets:/d
56/^compile-main:/,/^$/c\
57compile-main: ${TIT_MISC}\
58 $(MAKE) $(MFLAGS) $(foreach f,$(wildcard ja-dic/*.el),$(basename $f).elc)\
59 $(MAKE) $(MFLAGS) $(foreach f,$(wildcard quail/*.el),$(basename $f).elc)\
60
61
cebc7051
EZ
62/^install:/,/^$/c\
63install: all\
64
b42287d2
EZ
65/^bootstrap-clean:/,/^$/c\
66bootstrap-clean: clean\
67 rm -f ja-dic/*.elc quail/*.elc\
68
69
cebc7051 70/^ if test -f/d
ad89ba2b
EZ
71/^distclean:/,/^$/ {
72 s|\(rm -f Makefile\)|\1 stamp-subdir|
73}
ab5796a9 74