Fix msdos/sed3v2.inp. lib-src/ now builds.
[bpt/emacs.git] / msdos / sed6.inp
CommitLineData
e1b234f4 1# -sed6.inp------------------------------------------------------------------
57df543c
EZ
2# Configuration script for doc/emacs/Makefile, doc/lispref/Makefile,
3# doc/lispintro/Makefile, and doc/misc/Makefile under DJGPP v2.x
e1b234f4 4# ---------------------------------------------------------------------------
d7fcecc1 5#
73b0cd50 6# Copyright (C) 1997, 2000-2011 Free Software Foundation, Inc.
d7fcecc1
EZ
7#
8# This file is part of GNU Emacs.
9#
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.
13#
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.
17#
18# ----------------------------------------------------------------------
a633fcd4
EZ
19/^srcdir *=/s/@[^@\n]*@/./
20/^VPATH *=/s/@[^@\n]*@/./
fcd2e082
EZ
21/^ENVADD/c\
22ENVADD =\
23export TEXINPUTS := $(srcdir)";"$(TEXINPUTS)\
24export MAKEINFO := $(MAKEINFO) -I$(srcdir)
e1b234f4
EZ
25/^texinputdir/c\
26texinputdir =\
27export texinputdir := $(srcdir)";"$(TEXINPUTS)
5d1927f8 28/^SHELL *=/s/^/# /
a0b18738
EZ
29/^elisp.dvi:/,/^$/ {
30 /^ *if \[ *\a${permuted_index}/,/^ *fi *$/c\
31 command.com /c 'if not a${permuted_index}==a sh ./permute-index' \
32 command.com /c 'if not a${permuted_index}==a mv permuted.fns elisp.fns' \
33 command.com /c 'if not a${permuted_index}==a texindex elisp.tp' \
34 command.com /c 'if a${permuted_index}==a texindex elisp.??'
35}
36/^index.texi:/,/^$/ {
37 /^ *if \[ *\a${permuted_index}/,/^ *fi *$/c\
38 command.com /c 'if not a${permuted_index}==a cp -p ./index.perm index.texi' \
39 command.com /c 'if a${permuted_index}==a cp -p ./index.unperm index.texi'
40}
7d41f451
EZ
41/^maintainer-clean:/,/^$/ {
42 s/^ for file in $(INFO_TARGETS)\; do rm -f.*$/ rm -f $(INFO_TARGETS)/
43}
ab5796a9 44
c3911ead
EZ
45/^mkinfodir *=/s| @.*$|@command.com /c if not exist ..\\..\\info\\emacs mkdir ..\\..\\info|
46