Commit | Line | Data |
---|---|---|
cebc7051 EZ |
1 | # -sedleim.inp----------------------------------------------------------- |
2 | # Configuration script for leim/Makefile under DJGPP v2.x | |
3 | # ---------------------------------------------------------------------- | |
d7fcecc1 | 4 | # |
ba318903 | 5 | # Copyright (C) 1999-2014 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 |
19 | SHELL=/xyzzy/command\ |
20 | MAKESHELL=/xyzzy/command | |
cebc7051 | 21 | |
642bbd6f | 22 | /^srcdir=/s|srcdir=@srcdir@|srcdir := $(subst \\,/,$(shell cd))| |
cebc7051 | 23 | |
bf6b4923 EZ |
24 | # Need a relative directory name for the md command, otherwise it |
25 | # chokes, perhaps due to multiple dots in emacs-XX.YY.NN name. | |
26 | /^leimdir *=/a\ | |
27 | rel_leimdir = ..\\lisp\\leim | |
cebc7051 | 28 | |
ad89ba2b | 29 | s|\([ ]\)echo|\1djecho|g |
1daf07a2 | 30 | /^ @true *$/d |
ad89ba2b | 31 | |
f601db19 | 32 | /RUN_EMACS *=/,/^$/c\ |
bf6b4923 EZ |
33 | export EMACSLOADPATH=\ |
34 | RUN_EMACS = ${EMACS} -batch --no-site-file --no-site-lisp | |
97ea7b55 | 35 | |
bf6b4923 | 36 | /^MKDIR_P *=/s,@MKDIR_P@,-command.com /c md, |
ab5796a9 | 37 | |
bf6b4923 EZ |
38 | /MKDIR_P.* \${leimdir}\/.*$/s|\${leimdir}/|$(rel_leimdir)\\| |
39 | /MKDIR_P.* \$(leimdir)\/.*$/s|\$(leimdir)/|$(rel_leimdir)\\| |