summaryrefslogtreecommitdiff
path: root/nt/multi-install-info.bat
diff options
context:
space:
mode:
authorJason Rumney <jasonr@gnu.org>2003-09-03 23:11:46 +0000
committerJason Rumney <jasonr@gnu.org>2003-09-03 23:11:46 +0000
commitb78b918f4d61e0977030f047f77de9be25cf4ca8 (patch)
tree94f935e61d6062ceaa248b2f39f445bebee39d92 /nt/multi-install-info.bat
parent8bf425323b25d464ae9d712a16d96a68fa9fcf6b (diff)
downloademacs-b78b918f4d61e0977030f047f77de9be25cf4ca8.tar.gz
New file.
Diffstat (limited to 'nt/multi-install-info.bat')
-rw-r--r--nt/multi-install-info.bat41
1 files changed, 41 insertions, 0 deletions
diff --git a/nt/multi-install-info.bat b/nt/multi-install-info.bat
new file mode 100644
index 00000000000..d861d442f84
--- /dev/null
+++ b/nt/multi-install-info.bat
@@ -0,0 +1,41 @@
+@echo off
+
+rem Hack to run install-info with multiple info files on the command
+rem line on the Windows platform.
+rem
+rem Copyright (c) 2003 Free Software Foundation, Inc.
+rem
+rem This file is part of GNU Emacs.
+rem
+rem GNU Emacs is free software; you can redistribute it and/or modify
+rem it under the terms of the GNU General Public License as published by
+rem the Free Software Foundation; either version 2, or (at your option)
+rem any later version.
+rem
+rem GNU Emacs is distributed in the hope that it will be useful,
+rem but WITHOUT ANY WARRANTY; without even the implied warranty of
+rem MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+rem GNU General Public License for more details.
+rem
+rem You should have received a copy of the GNU General Public License
+rem along with GNU Emacs; see the file COPYING. If not, write to
+rem the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
+rem Boston, MA 02111-1307, USA.
+rem
+rem
+rem Usage:
+rem multi-install-info <switch passed to install-info> FILE1 FILE2 ...
+rem
+rem By Peter 'Luna' Runestig <peter@runestig.com> 2003
+
+set INSTALL_INFO=install-info
+set II_SWITCH=%1=%2
+rem Eat the install-info switch:
+shift
+
+:Loop
+shift
+if .%1% == . goto EndLoop
+%INSTALL_INFO% %II_SWITCH% %1
+goto Loop
+:EndLoop