2004-06-03 Karl Fogel <kfogel@red-bean.com>
[emacs.git] / msdos / sedleim.inp
blobf4795e749b8da46d6cdebb1ee41ac7d09fb1522c
1 # -sedleim.inp-----------------------------------------------------------
2 # Configuration script for leim/Makefile under DJGPP v2.x
3 # ----------------------------------------------------------------------
5 # Copyright (C) 1999, 2000
6 #   Free Software Foundation, Inc.
8 # This file is part of GNU Emacs.
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.
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.
18 # ----------------------------------------------------------------------
19 /^SHELL *=/c\
20 SHELL=/xyzzy/command\
21 MAKESHELL=/xyzzy/command
23 /^version=/d
24 /^prefix=/d
25 /^datadir=/s|@datadir@|../..|
26 /^srcdir=/s|srcdir=@srcdir@|srcdir := $(subst \\,/,$(shell cd))|
28 /^INSTALLDIR=/c\
29 INSTALLDIR=.
31 /touch stamp-subdir/s|touch|djecho "stamp-subdir" >|
32 s|\([   ]\)echo|\1djecho|g
34 /RUN-EMACS *=/,/^$/c\
35 export EMACSLOADPATH=${buildlisppath}\
36 RUN-EMACS = ${BUILT-EMACS} -batch --no-init-file --no-site-file --multibyte
38 /^      cd ../c\
39         ${MAKE} -C ../src ${MFLAGS} emacs
41 /else make quail/c\
42         if not exist quail\\nul make quail
44 /if \[ -f $@ \]\; then true/d
45 /fi$/s/; fi$//
47 /^leim-list.el:/,/^$/ {
48         /^      if/d
49         /^      else/,/^        fi/d
50         s|       *|     |
51         /^      --eval/,/; \\$/s|\; \\||
54 /^install:/,/^$/c\
55 install: all\
57 /^      if test -f/d
58 /^distclean:/,/^$/ {
59         s|\(rm -f Makefile\)|\1 stamp-subdir|
62 # arch-tag: 33c5eed1-78bc-4a6e-9d11-cbc7c541b763