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# --------------------------------------------------------------------------- 5# 6# Copyright (C) 1997, 2000-2021 Free Software Foundation, Inc. 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# ---------------------------------------------------------------------- 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)/ 25/^ENVADD/,/^$/c\ 26ENVADD =\ 27export TEXINPUTS := $(srcdir)";"$(texinfodir)";"$(TEXINPUTS)\ 28export MAKEINFO := $(MAKEINFO) $(MAKEINFO_OPTS) 29/^SHELL *=/s/^/# / 30/^doc-emacsver:/,/^$/ { 31 s/emacsver\.texi\.in/emacsver.in/g 32 s/\.texi\.\$\$\$\$/.tmp/g 33 s/[^ ]*move-if-change/update/ 34} 35