]> code.delx.au - gnu-emacs/commitdiff
New file.
authorJason Rumney <jasonr@gnu.org>
Wed, 3 Sep 2003 23:11:46 +0000 (23:11 +0000)
committerJason Rumney <jasonr@gnu.org>
Wed, 3 Sep 2003 23:11:46 +0000 (23:11 +0000)
nt/multi-install-info.bat [new file with mode: 0644]

diff --git a/nt/multi-install-info.bat b/nt/multi-install-info.bat
new file mode 100644 (file)
index 0000000..d861d44
--- /dev/null
@@ -0,0 +1,41 @@
+@echo off\r
+\r
+rem  Hack to run install-info with multiple info files on the command\r
+rem  line on the Windows platform.\r
+rem\r
+rem  Copyright (c) 2003 Free Software Foundation, Inc.\r
+rem\r
+rem  This file is part of GNU Emacs.\r
+rem\r
+rem  GNU Emacs is free software; you can redistribute it and/or modify\r
+rem  it under the terms of the GNU General Public License as published by\r
+rem  the Free Software Foundation; either version 2, or (at your option)\r
+rem  any later version.\r
+rem\r
+rem  GNU Emacs is distributed in the hope that it will be useful,\r
+rem  but WITHOUT ANY WARRANTY; without even the implied warranty of\r
+rem  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the\r
+rem  GNU General Public License for more details.\r
+rem\r
+rem  You should have received a copy of the GNU General Public License\r
+rem  along with GNU Emacs; see the file COPYING.  If not, write to\r
+rem  the Free Software Foundation, Inc., 59 Temple Place - Suite 330,\r
+rem  Boston, MA 02111-1307, USA.\r
+rem\r
+rem\r
+rem  Usage:\r
+rem   multi-install-info <switch passed to install-info> FILE1 FILE2 ...\r
+rem\r
+rem  By Peter 'Luna' Runestig <peter@runestig.com> 2003\r
+\r
+set INSTALL_INFO=install-info\r
+set II_SWITCH=%1=%2\r
+rem Eat the install-info switch:\r
+shift\r
+\r
+:Loop\r
+shift\r
+if .%1% == . goto EndLoop\r
+%INSTALL_INFO% %II_SWITCH% %1\r
+goto Loop\r
+:EndLoop\r