Merge from emacs--rel--22
[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 rem
6 rem Copyright (C) 2003, 2004, 2005, 2006, 2007 Free Software Foundation, Inc.
7 rem
8 rem This file is part of GNU Emacs.
9 rem
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 2, or (at your option)
13 rem any later version.
14 rem
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 rem
20 rem You should have received a copy of the GNU General Public License
21 rem along with GNU Emacs; see the file COPYING. If not, write to
22 rem the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
23 rem Boston, MA 02110-1301, USA.
24 rem
25 rem
26 rem Usage:
27 rem multi-install-info <switch passed to install-info> FILE1 FILE2 ...
28 rem
29 rem By Peter 'Luna' Runestig <peter@runestig.com> 2003
30
31 set INSTALL_INFO=install-info
32 set II_SWITCH=%1=%2
33 rem Eat the install-info switch:
34 shift
35
36 :Loop
37 shift
38 if .%1% == . goto EndLoop
39 %INSTALL_INFO% %II_SWITCH% %1
40 goto Loop
41 :EndLoop
42
43 goto skipArchTag
44 arch-tag: 4f590862-8ead-497a-a71c-fb4b0e5d50db
45 :skipArchTag