1 # -sed6.inp------------------------------------------------------------------
2 # Configuration script for doc/emacs/Makefile, doc/lispref/Makefile,
3 # doc/lispintro/Makefile, and doc/misc/Makefile under DJGPP v2.x
4 # ---------------------------------------------------------------------------
6 # Copyright (C) 1997, 2000, 2001, 2002, 2003, 2004,
7 # 2005, 2006, 2007, 2008, 2009 Free Software Foundation, Inc.
9 # This file is part of GNU Emacs.
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.
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.
19 # ----------------------------------------------------------------------
20 /^srcdir *=/s/@[^@\n]*@/./
21 /^VPATH *=/s/@[^@\n]*@/./
24 export TEXINPUTS := $(srcdir)";"$(TEXINPUTS)\
25 export MAKEINFO := $(MAKEINFO) -I$(srcdir)
28 export texinputdir := $(srcdir)";"$(TEXINPUTS)
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.??'
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'
42 /^maintainer-clean:/,/^$/ {
43 s/^ for file in $(INFO_TARGETS)\; do rm -f.*$/ rm -f $(INFO_TARGETS)/
46 # arch-tag: defe1001-f35a-47f7-9635-3f5d33ee5e97