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-2017 Free Software Foundation, Inc.
8 # This file is part of GNU Emacs.
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.
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.
18 # ----------------------------------------------------------------------
19 /^srcdir *=/s/@[^@\n]*@/./
20 /^VPATH *=/s/@[^@\n]*@/./
21 /^MAKEINFO *=/s/@[^@\n]*@/makeinfo/
22 /^AM_DEFAULT_VERBOSITY *=/s/@AM_DEFAULT_VERBOSITY@/1/
23 /^[Aa][Mm]_/s/@AM_V@/$(V)/
24 /^[Aa][Mm]_/s/@AM_DEFAULT_V@/$(AM_DEFAULT_VERBOSITY)/
27 export TEXINPUTS := $(srcdir)";"$(texinfodir)";"$(TEXINPUTS)\
28 export MAKEINFO := $(MAKEINFO) $(MAKEINFO_OPTS)
30 /^doc-emacsver:/,/^$/ {
31 s/emacsver\.texi\.in/emacsver.in/g
32 s/\.texi\.\$\$\$\$/.tmp/g
33 s/[^ ]*move-if-change/update/