sedleim.inp 1.5 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162
  1. # -sedleim.inp-----------------------------------------------------------
  2. # Configuration script for leim/Makefile under DJGPP v2.x
  3. # ----------------------------------------------------------------------
  4. #
  5. # Copyright (C) 1999-2012 Free Software Foundation, Inc.
  6. #
  7. # This file is part of GNU Emacs.
  8. #
  9. # This file is free software; as a special exception, the author gives
  10. # unlimited permission to copy and/or distribute it, with or without
  11. # modifications, as long as this notice is preserved.
  12. #
  13. # This program is distributed in the hope that it will be useful,
  14. # but WITHOUT ANY WARRANTY; without even the implied warranty of
  15. # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
  16. #
  17. # ----------------------------------------------------------------------
  18. /^SHELL *=/c\
  19. SHELL=/xyzzy/command\
  20. MAKESHELL=/xyzzy/command
  21. /^version=/d
  22. /^prefix=/d
  23. /^datadir=/s|@datadir@|../..|
  24. /^srcdir=/s|srcdir=@srcdir@|srcdir := $(subst \\,/,$(shell cd))|
  25. /^INSTALLDIR=/c\
  26. INSTALLDIR=.
  27. /touch stamp-subdir/s|touch|djecho "stamp-subdir" >|
  28. s|\([ ]\)echo|\1djecho|g
  29. /^ @true *$/d
  30. /RUN_EMACS *=/,/^$/c\
  31. export EMACSLOADPATH=${buildlisppath}\
  32. RUN_EMACS = ${BUILT_EMACS} -batch --no-site-file
  33. /^ cd ../c\
  34. ${MAKE} -C ../src ${MFLAGS} emacs
  35. /else make quail/c\
  36. if not exist quail\\nul make quail
  37. /if \[ -f $@ \]\; then true/d
  38. /fi$/s/; fi$//
  39. /^leim-list.el:/,/^$/ {
  40. /^ if/d
  41. /^ else/,/^ fi/d
  42. s| *| |
  43. /^ --eval/,/; \\$/s|\; \\||
  44. }
  45. /^install:/,/^$/c\
  46. install: all\
  47. /^ if test -f/d
  48. /^distclean:/,/^$/ {
  49. s|\(rm -f Makefile\)|\1 stamp-subdir|
  50. }