sed6.inp 1.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445
  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-2012 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. /^ENVADD/,/^$/c\
  23. ENVADD =\
  24. export TEXINPUTS := $(srcdir)";"$(TEXINPUTS)\
  25. export MAKEINFO := $(MAKEINFO) $(MAKEINFO_OPTS)
  26. /^SHELL *=/s/^/# /
  27. /^elisp.dvi:/,/^$/ {
  28. /^ *if \[ *\a${permuted_index}/,/^ *fi *$/c\
  29. command.com /c 'if not a${permuted_index}==a sh ./permute-index' \
  30. command.com /c 'if not a${permuted_index}==a mv permuted.fns elisp.fns' \
  31. command.com /c 'if not a${permuted_index}==a texindex elisp.tp' \
  32. command.com /c 'if a${permuted_index}==a texindex elisp.??'
  33. }
  34. /^index.texi:/,/^$/ {
  35. /^ *if \[ *\a${permuted_index}/,/^ *fi *$/c\
  36. command.com /c 'if not a${permuted_index}==a cp -p ./index.perm index.texi' \
  37. command.com /c 'if a${permuted_index}==a cp -p ./index.unperm index.texi'
  38. }
  39. /^maintainer-clean:/,/^$/ {
  40. s/^ for file in $(INFO_TARGETS)\; do rm -f.*$/ rm -f $(INFO_TARGETS)/
  41. }
  42. /^mkinfodir *=/s| @.*$|@command.com /c if not exist ..\\..\\info\\emacs mkdir ..\\..\\info|