Commit | Line | Data |
---|---|---|
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 | # |
b65d8176 | 6 | # Copyright (C) 1997, 2000, 2001, 2002, 2003, 2004, |
b9b14d13 | 7 | # 2005, 2006, 2007, 2008 Free Software Foundation, Inc. |
d7fcecc1 EZ |
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\ |
23 | ENVADD =\ | |
24 | export TEXINPUTS := $(srcdir)";"$(TEXINPUTS)\ | |
25 | export MAKEINFO := $(MAKEINFO) -I$(srcdir) | |
e1b234f4 EZ |
26 | /^texinputdir/c\ |
27 | texinputdir =\ | |
28 | export texinputdir := $(srcdir)";"$(TEXINPUTS) | |
5d1927f8 | 29 | /^SHELL *=/s/^/# / |
a0b18738 EZ |
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 | } | |
ab5796a9 MB |
42 | |
43 | # arch-tag: defe1001-f35a-47f7-9635-3f5d33ee5e97 |