Merge from emacs-24; up to 2014-04-17T02:05:48Z!eggert@cs.ucla.edu
[bpt/emacs.git] / nt / multi-install-info.bat
1 @echo off
2
3 rem Hack to run install-info with multiple info files on the command
4 rem line on the Windows platform.
5
6 rem Copyright (C) 2003-2014 Free Software Foundation, Inc.
7
8 rem This file is part of GNU Emacs.
9
10 rem GNU Emacs is free software: you can redistribute it and/or modify
11 rem it under the terms of the GNU General Public License as published by
12 rem the Free Software Foundation, either version 3 of the License, or
13 rem (at your option) any later version.
14
15 rem GNU Emacs is distributed in the hope that it will be useful,
16 rem but WITHOUT ANY WARRANTY; without even the implied warranty of
17 rem MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
18 rem GNU General Public License for more details.
19
20 rem You should have received a copy of the GNU General Public License
21 rem along with GNU Emacs. If not, see http://www.gnu.org/licenses/.
22
23
24 rem Usage:
25 rem multi-install-info <switch passed to install-info> FILE1 FILE2 ...
26 rem
27 rem By Peter 'Luna' Runestig <peter@runestig.com> 2003
28
29 set INSTALL_INFO=install-info
30 set II_SWITCH=%1=%2
31 rem Eat the install-info switch:
32 shift
33
34 :Loop
35 shift
36 if .%1% == . goto EndLoop
37 %INSTALL_INFO% %II_SWITCH% %1
38 goto Loop
39 :EndLoop
40