Mercurial > emacs
annotate msdos/sed6.inp @ 112445:93fcbcb698b0
Improve configuration of makeinfo.
* Makefile.in (MAKEINFO): Now controlled by `configure'.
(MAKEINFO_OPTS): New variable. Use it where appropriate.
(ENVADD): Updated.
author | Werner Lemberg <wl@gnu.org> |
---|---|
date | Sun, 23 Jan 2011 11:38:14 +0100 |
parents | ef719132ddfa |
children |
rev | line source |
---|---|
40880
3e7c2acdb425
(texinputdir): Add, for the lispref directory.
Eli Zaretskii <eliz@gnu.org>
parents:
36461
diff
changeset
|
1 # -sed6.inp------------------------------------------------------------------ |
85044
f78be8e419a9
Update comment to reflect doc directory structure.
Eli Zaretskii <eliz@gnu.org>
parents:
75348
diff
changeset
|
2 # Configuration script for doc/emacs/Makefile, doc/lispref/Makefile, |
f78be8e419a9
Update comment to reflect doc directory structure.
Eli Zaretskii <eliz@gnu.org>
parents:
75348
diff
changeset
|
3 # doc/lispintro/Makefile, and doc/misc/Makefile under DJGPP v2.x |
40880
3e7c2acdb425
(texinputdir): Add, for the lispref directory.
Eli Zaretskii <eliz@gnu.org>
parents:
36461
diff
changeset
|
4 # --------------------------------------------------------------------------- |
36461
a4fb0c9be609
Add copyright notices for all files. README is a new file, mainly
Eli Zaretskii <eliz@gnu.org>
parents:
28972
diff
changeset
|
5 # |
64890
3723093a21fd
Update years in copyright notice; nfc.
Thien-Thi Nguyen <ttn@gnuvola.org>
parents:
52401
diff
changeset
|
6 # Copyright (C) 1997, 2000, 2001, 2002, 2003, 2004, |
112218
376148b31b5e
Add 2011 to FSF/AIST copyright years.
Glenn Morris <rgm@gnu.org>
parents:
106815
diff
changeset
|
7 # 2005, 2006, 2007, 2008, 2009, 2010, 2011 Free Software Foundation, Inc. |
36461
a4fb0c9be609
Add copyright notices for all files. README is a new file, mainly
Eli Zaretskii <eliz@gnu.org>
parents:
28972
diff
changeset
|
8 # |
a4fb0c9be609
Add copyright notices for all files. README is a new file, mainly
Eli Zaretskii <eliz@gnu.org>
parents:
28972
diff
changeset
|
9 # This file is part of GNU Emacs. |
a4fb0c9be609
Add copyright notices for all files. README is a new file, mainly
Eli Zaretskii <eliz@gnu.org>
parents:
28972
diff
changeset
|
10 # |
a4fb0c9be609
Add copyright notices for all files. README is a new file, mainly
Eli Zaretskii <eliz@gnu.org>
parents:
28972
diff
changeset
|
11 # This file is free software; as a special exception, the author gives |
a4fb0c9be609
Add copyright notices for all files. README is a new file, mainly
Eli Zaretskii <eliz@gnu.org>
parents:
28972
diff
changeset
|
12 # unlimited permission to copy and/or distribute it, with or without |
a4fb0c9be609
Add copyright notices for all files. README is a new file, mainly
Eli Zaretskii <eliz@gnu.org>
parents:
28972
diff
changeset
|
13 # modifications, as long as this notice is preserved. |
a4fb0c9be609
Add copyright notices for all files. README is a new file, mainly
Eli Zaretskii <eliz@gnu.org>
parents:
28972
diff
changeset
|
14 # |
a4fb0c9be609
Add copyright notices for all files. README is a new file, mainly
Eli Zaretskii <eliz@gnu.org>
parents:
28972
diff
changeset
|
15 # This program is distributed in the hope that it will be useful, |
a4fb0c9be609
Add copyright notices for all files. README is a new file, mainly
Eli Zaretskii <eliz@gnu.org>
parents:
28972
diff
changeset
|
16 # but WITHOUT ANY WARRANTY; without even the implied warranty of |
a4fb0c9be609
Add copyright notices for all files. README is a new file, mainly
Eli Zaretskii <eliz@gnu.org>
parents:
28972
diff
changeset
|
17 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. |
a4fb0c9be609
Add copyright notices for all files. README is a new file, mainly
Eli Zaretskii <eliz@gnu.org>
parents:
28972
diff
changeset
|
18 # |
a4fb0c9be609
Add copyright notices for all files. README is a new file, mainly
Eli Zaretskii <eliz@gnu.org>
parents:
28972
diff
changeset
|
19 # ---------------------------------------------------------------------- |
20283 | 20 /^srcdir *=/s/@[^@\n]*@/./ |
21 /^VPATH *=/s/@[^@\n]*@/./ | |
28972
b77f0b29fdb9
Changes to allow "make foo.dvi" on DJGPP platforms:
Eli Zaretskii <eliz@gnu.org>
parents:
20283
diff
changeset
|
22 /^ENVADD/c\ |
b77f0b29fdb9
Changes to allow "make foo.dvi" on DJGPP platforms:
Eli Zaretskii <eliz@gnu.org>
parents:
20283
diff
changeset
|
23 ENVADD =\ |
b77f0b29fdb9
Changes to allow "make foo.dvi" on DJGPP platforms:
Eli Zaretskii <eliz@gnu.org>
parents:
20283
diff
changeset
|
24 export TEXINPUTS := $(srcdir)";"$(TEXINPUTS)\ |
b77f0b29fdb9
Changes to allow "make foo.dvi" on DJGPP platforms:
Eli Zaretskii <eliz@gnu.org>
parents:
20283
diff
changeset
|
25 export MAKEINFO := $(MAKEINFO) -I$(srcdir) |
40880
3e7c2acdb425
(texinputdir): Add, for the lispref directory.
Eli Zaretskii <eliz@gnu.org>
parents:
36461
diff
changeset
|
26 /^texinputdir/c\ |
3e7c2acdb425
(texinputdir): Add, for the lispref directory.
Eli Zaretskii <eliz@gnu.org>
parents:
36461
diff
changeset
|
27 texinputdir =\ |
3e7c2acdb425
(texinputdir): Add, for the lispref directory.
Eli Zaretskii <eliz@gnu.org>
parents:
36461
diff
changeset
|
28 export texinputdir := $(srcdir)";"$(TEXINPUTS) |
41426
14bc899ea288
(SHELL): Comment away, for lispintro.
Eli Zaretskii <eliz@gnu.org>
parents:
40880
diff
changeset
|
29 /^SHELL *=/s/^/# / |
52356
76e8f941998a
(elisp.dvi, index.texi): Replace Unix shell commands with equivalent
Eli Zaretskii <eliz@gnu.org>
parents:
41426
diff
changeset
|
30 /^elisp.dvi:/,/^$/ { |
76e8f941998a
(elisp.dvi, index.texi): Replace Unix shell commands with equivalent
Eli Zaretskii <eliz@gnu.org>
parents:
41426
diff
changeset
|
31 /^ *if \[ *\a${permuted_index}/,/^ *fi *$/c\ |
76e8f941998a
(elisp.dvi, index.texi): Replace Unix shell commands with equivalent
Eli Zaretskii <eliz@gnu.org>
parents:
41426
diff
changeset
|
32 command.com /c 'if not a${permuted_index}==a sh ./permute-index' \ |
76e8f941998a
(elisp.dvi, index.texi): Replace Unix shell commands with equivalent
Eli Zaretskii <eliz@gnu.org>
parents:
41426
diff
changeset
|
33 command.com /c 'if not a${permuted_index}==a mv permuted.fns elisp.fns' \ |
76e8f941998a
(elisp.dvi, index.texi): Replace Unix shell commands with equivalent
Eli Zaretskii <eliz@gnu.org>
parents:
41426
diff
changeset
|
34 command.com /c 'if not a${permuted_index}==a texindex elisp.tp' \ |
76e8f941998a
(elisp.dvi, index.texi): Replace Unix shell commands with equivalent
Eli Zaretskii <eliz@gnu.org>
parents:
41426
diff
changeset
|
35 command.com /c 'if a${permuted_index}==a texindex elisp.??' |
76e8f941998a
(elisp.dvi, index.texi): Replace Unix shell commands with equivalent
Eli Zaretskii <eliz@gnu.org>
parents:
41426
diff
changeset
|
36 } |
76e8f941998a
(elisp.dvi, index.texi): Replace Unix shell commands with equivalent
Eli Zaretskii <eliz@gnu.org>
parents:
41426
diff
changeset
|
37 /^index.texi:/,/^$/ { |
76e8f941998a
(elisp.dvi, index.texi): Replace Unix shell commands with equivalent
Eli Zaretskii <eliz@gnu.org>
parents:
41426
diff
changeset
|
38 /^ *if \[ *\a${permuted_index}/,/^ *fi *$/c\ |
76e8f941998a
(elisp.dvi, index.texi): Replace Unix shell commands with equivalent
Eli Zaretskii <eliz@gnu.org>
parents:
41426
diff
changeset
|
39 command.com /c 'if not a${permuted_index}==a cp -p ./index.perm index.texi' \ |
76e8f941998a
(elisp.dvi, index.texi): Replace Unix shell commands with equivalent
Eli Zaretskii <eliz@gnu.org>
parents:
41426
diff
changeset
|
40 command.com /c 'if a${permuted_index}==a cp -p ./index.unperm index.texi' |
76e8f941998a
(elisp.dvi, index.texi): Replace Unix shell commands with equivalent
Eli Zaretskii <eliz@gnu.org>
parents:
41426
diff
changeset
|
41 } |
99580
0a4e0a4890cb
Edit out Unixy shell features in maintainer-clean targets in doc/ Makefiles.
Eli Zaretskii <eliz@gnu.org>
parents:
87649
diff
changeset
|
42 /^maintainer-clean:/,/^$/ { |
0a4e0a4890cb
Edit out Unixy shell features in maintainer-clean targets in doc/ Makefiles.
Eli Zaretskii <eliz@gnu.org>
parents:
87649
diff
changeset
|
43 s/^ for file in $(INFO_TARGETS)\; do rm -f.*$/ rm -f $(INFO_TARGETS)/ |
0a4e0a4890cb
Edit out Unixy shell features in maintainer-clean targets in doc/ Makefiles.
Eli Zaretskii <eliz@gnu.org>
parents:
87649
diff
changeset
|
44 } |
52401 | 45 |
111011
98fd8b0e411d
Fix the MSDOS build broken by latest revisions.
Eli Zaretskii <eliz@gnu.org>
parents:
106815
diff
changeset
|
46 /^mkinfodir *=/s| @.*$|@command.com /c if not exist ..\\..\\info\\emacs mkdir ..\\..\\info| |
98fd8b0e411d
Fix the MSDOS build broken by latest revisions.
Eli Zaretskii <eliz@gnu.org>
parents:
106815
diff
changeset
|
47 |