sedleim.inp 1.45 KB
Newer Older
Eli Zaretskii's avatar
Eli Zaretskii committed
1 2 3
# -sedleim.inp-----------------------------------------------------------
# Configuration script for leim/Makefile under DJGPP v2.x
# ----------------------------------------------------------------------
4
#
Paul Eggert's avatar
Paul Eggert committed
5
# Copyright (C) 1999-2019 Free Software Foundation, Inc.
6 7 8 9 10 11 12 13 14 15 16 17
#
# This file is part of GNU Emacs.
#
# This file is free software; as a special exception, the author gives
# unlimited permission to copy and/or distribute it, with or without
# modifications, as long as this notice is preserved.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
#
# ----------------------------------------------------------------------
Eli Zaretskii's avatar
Eli Zaretskii committed
18
/^SHELL *=/c\
19 20
SHELL=/xyzzy/command\
MAKESHELL=/xyzzy/command
Eli Zaretskii's avatar
Eli Zaretskii committed
21

Eli Zaretskii's avatar
Eli Zaretskii committed
22 23 24 25 26
/^EXEEXT *=/s/@EXEEXT@/.exe/
/^AM_DEFAULT_VERBOSITY *=/s/@AM_DEFAULT_VERBOSITY@/1/
/^[Aa][Mm]_/s/@AM_V@/$(V)/
/^[Aa][Mm]_/s/@AM_DEFAULT_V@/$(AM_DEFAULT_VERBOSITY)/

27
/^srcdir=/s|srcdir=@srcdir@|srcdir := $(subst \\,/,$(shell cd))|
Eli Zaretskii's avatar
Eli Zaretskii committed
28

Eli Zaretskii's avatar
Eli Zaretskii committed
29 30 31 32
# Need a relative directory name for the md command, otherwise it
# chokes, perhaps due to multiple dots in emacs-XX.YY.NN name.
/^leimdir *=/a\
rel_leimdir = ..\\lisp\\leim
Eli Zaretskii's avatar
Eli Zaretskii committed
33

34
s|\([ 	]\)echo|\1djecho|g
35
/^	@true *$/d
36

37
/RUN_EMACS *=/,/^$/c\
Eli Zaretskii's avatar
Eli Zaretskii committed
38 39
export EMACSLOADPATH=\
RUN_EMACS = ${EMACS} -batch --no-site-file --no-site-lisp
40

Eli Zaretskii's avatar
Eli Zaretskii committed
41
/^MKDIR_P *=/s,@MKDIR_P@,gmkdir -p,
Miles Bader's avatar
Miles Bader committed
42

Eli Zaretskii's avatar
Eli Zaretskii committed
43
/^\${leimdir}\/quail \${leimdir}\/ja-dic: *$/s|\${leimdir}/|$(rel_leimdir)\\|