]> code.delx.au - gnu-emacs/blobdiff - msdos/sedleim.inp
Update copyright year to 2016
[gnu-emacs] / msdos / sedleim.inp
index 4d81b504ce41156fc60467dd3a7f29164130ac4e..fcfcd08b55e38e59f94d8db2d36b716af51fd35c 100644 (file)
@@ -2,8 +2,7 @@
 # Configuration script for leim/Makefile under DJGPP v2.x
 # ----------------------------------------------------------------------
 #
-# Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004,
-#   2005, 2006, 2007, 2008, 2009, 2010, 2011  Free Software Foundation, Inc.
+# Copyright (C) 1999-2016 Free Software Foundation, Inc.
 #
 # This file is part of GNU Emacs.
 #
 SHELL=/xyzzy/command\
 MAKESHELL=/xyzzy/command
 
-/^version=/d
-/^prefix=/d
-/^datadir=/s|@datadir@|../..|
 /^srcdir=/s|srcdir=@srcdir@|srcdir := $(subst \\,/,$(shell cd))|
 
-/^INSTALLDIR=/c\
-INSTALLDIR=.
+# Need a relative directory name for the md command, otherwise it
+# chokes, perhaps due to multiple dots in emacs-XX.YY.NN name.
+/^leimdir *=/a\
+rel_leimdir = ..\\lisp\\leim
 
-/touch stamp-subdir/s|touch|djecho "stamp-subdir" >|
 s|\([  ]\)echo|\1djecho|g
 /^     @true *$/d
 
-/RUN-EMACS *=/,/^$/c\
-export EMACSLOADPATH=${buildlisppath}\
-RUN-EMACS = ${BUILT-EMACS} -batch --no-site-file
+/RUN_EMACS *=/,/^$/c\
+export EMACSLOADPATH=\
+RUN_EMACS = ${EMACS} -batch --no-site-file --no-site-lisp
 
-/^     cd ../c\
-       ${MAKE} -C ../src ${MFLAGS} emacs
+/^MKDIR_P *=/s,@MKDIR_P@,-command.com /c md,
 
-/else make quail/c\
-       if not exist quail\\nul make quail
-
-/if \[ -f $@ \]\; then true/d
-/fi$/s/; fi$//
-
-/^leim-list.el:/,/^$/ {
-       /^      if/d
-       /^      else/,/^        fi/d
-       s|       *|     |
-       /^      --eval/,/; \\$/s|\; \\||
-}
-
-/^install:/,/^$/c\
-install: all\
-
-/^     if test -f/d
-/^distclean:/,/^$/ {
-       s|\(rm -f Makefile\)|\1 stamp-subdir|
-}
-
-# arch-tag: 33c5eed1-78bc-4a6e-9d11-cbc7c541b763
+/MKDIR_P.* \${leimdir}\/.*$/s|\${leimdir}/|$(rel_leimdir)\\|
+/MKDIR_P.* \$(leimdir)\/.*$/s|\$(leimdir)/|$(rel_leimdir)\\|