Sync to HEAD
[bpt/emacs.git] / msdos / sed6.inp
CommitLineData
e1b234f4 1# -sed6.inp------------------------------------------------------------------
5d1927f8
EZ
2# Configuration script for man/Makefile, lispref/Makefile, and
3# lispintro/Makefile under DJGPP v2.x
e1b234f4 4# ---------------------------------------------------------------------------
d7fcecc1 5#
e1b234f4 6# Copyright (C) 1997, 2000, 2001
d7fcecc1
EZ
7# Free Software Foundation, Inc.
8#
9# This file is part of GNU Emacs.
10#
11# This file is free software; as a special exception, the author gives
12# unlimited permission to copy and/or distribute it, with or without
13# modifications, as long as this notice is preserved.
14#
15# This program is distributed in the hope that it will be useful,
16# but WITHOUT ANY WARRANTY; without even the implied warranty of
17# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
18#
19# ----------------------------------------------------------------------
a633fcd4
EZ
20/^srcdir *=/s/@[^@\n]*@/./
21/^VPATH *=/s/@[^@\n]*@/./
fcd2e082
EZ
22/^ENVADD/c\
23ENVADD =\
24export TEXINPUTS := $(srcdir)";"$(TEXINPUTS)\
25export MAKEINFO := $(MAKEINFO) -I$(srcdir)
e1b234f4
EZ
26/^texinputdir/c\
27texinputdir =\
28export texinputdir := $(srcdir)";"$(TEXINPUTS)
5d1927f8 29/^SHELL *=/s/^/# /
6b61353c
KH
30/^elisp.dvi:/,/^$/ {
31 /^ *if \[ *\a${permuted_index}/,/^ *fi *$/c\
32 command.com /c 'if not a${permuted_index}==a sh ./permute-index' \
33 command.com /c 'if not a${permuted_index}==a mv permuted.fns elisp.fns' \
34 command.com /c 'if not a${permuted_index}==a texindex elisp.tp' \
35 command.com /c 'if a${permuted_index}==a texindex elisp.??'
36}
37/^index.texi:/,/^$/ {
38 /^ *if \[ *\a${permuted_index}/,/^ *fi *$/c\
39 command.com /c 'if not a${permuted_index}==a cp -p ./index.perm index.texi' \
40 command.com /c 'if a${permuted_index}==a cp -p ./index.unperm index.texi'
41}
42
43# arch-tag: defe1001-f35a-47f7-9635-3f5d33ee5e97