2001-11-10 14:06:08 +00:00
|
|
|
# -sed6.inp------------------------------------------------------------------
|
2007-10-05 09:37:09 +00:00
|
|
|
# Configuration script for doc/emacs/Makefile, doc/lispref/Makefile,
|
|
|
|
# doc/lispintro/Makefile, and doc/misc/Makefile under DJGPP v2.x
|
2001-11-10 14:06:08 +00:00
|
|
|
# ---------------------------------------------------------------------------
|
2001-03-01 17:19:33 +00:00
|
|
|
#
|
2012-01-05 09:46:05 +00:00
|
|
|
# Copyright (C) 1997, 2000-2012 Free Software Foundation, Inc.
|
2001-03-01 17:19:33 +00:00
|
|
|
#
|
|
|
|
# This file is part of GNU Emacs.
|
|
|
|
#
|
|
|
|
# This file is free software; as a special exception, the author gives
|
|
|
|
# unlimited permission to copy and/or distribute it, with or without
|
|
|
|
# modifications, as long as this notice is preserved.
|
|
|
|
#
|
|
|
|
# This program is distributed in the hope that it will be useful,
|
|
|
|
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
|
|
|
|
#
|
|
|
|
# ----------------------------------------------------------------------
|
1997-11-20 16:29:53 +00:00
|
|
|
/^srcdir *=/s/@[^@\n]*@/./
|
|
|
|
/^VPATH *=/s/@[^@\n]*@/./
|
2011-02-19 19:41:00 +00:00
|
|
|
/^MAKEINFO *=/s/@[^@\n]*@/makeinfo/
|
2012-05-25 10:21:30 +00:00
|
|
|
/^INFO_EXT *=/s/@[^@\n]*@/.info/
|
|
|
|
/^INFO_OPTS *=/s/@[^@\n]*@/--no-split/
|
2011-02-19 19:41:00 +00:00
|
|
|
/^ENVADD/,/^$/c\
|
2000-05-18 14:46:49 +00:00
|
|
|
ENVADD =\
|
|
|
|
export TEXINPUTS := $(srcdir)";"$(TEXINPUTS)\
|
2011-02-19 19:41:00 +00:00
|
|
|
export MAKEINFO := $(MAKEINFO) $(MAKEINFO_OPTS)
|
2001-11-24 10:37:52 +00:00
|
|
|
/^SHELL *=/s/^/# /
|
2003-08-28 14:08:55 +00:00
|
|
|
/^elisp.dvi:/,/^$/ {
|
|
|
|
/^ *if \[ *\a${permuted_index}/,/^ *fi *$/c\
|
|
|
|
command.com /c 'if not a${permuted_index}==a sh ./permute-index' \
|
|
|
|
command.com /c 'if not a${permuted_index}==a mv permuted.fns elisp.fns' \
|
|
|
|
command.com /c 'if not a${permuted_index}==a texindex elisp.tp' \
|
|
|
|
command.com /c 'if a${permuted_index}==a texindex elisp.??'
|
|
|
|
}
|
|
|
|
/^index.texi:/,/^$/ {
|
|
|
|
/^ *if \[ *\a${permuted_index}/,/^ *fi *$/c\
|
|
|
|
command.com /c 'if not a${permuted_index}==a cp -p ./index.perm index.texi' \
|
|
|
|
command.com /c 'if a${permuted_index}==a cp -p ./index.unperm index.texi'
|
|
|
|
}
|
2008-11-15 15:38:56 +00:00
|
|
|
/^maintainer-clean:/,/^$/ {
|
|
|
|
s/^ for file in $(INFO_TARGETS)\; do rm -f.*$/ rm -f $(INFO_TARGETS)/
|
|
|
|
}
|
2003-09-01 15:45:59 +00:00
|
|
|
|
2010-10-15 18:42:54 +00:00
|
|
|
/^mkinfodir *=/s| @.*$|@command.com /c if not exist ..\\..\\info\\emacs mkdir ..\\..\\info|
|
|
|
|
|