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