diff options
| author | Jason Rumney | 2003-09-03 23:11:46 +0000 |
|---|---|---|
| committer | Jason Rumney | 2003-09-03 23:11:46 +0000 |
| commit | b78b918f4d61e0977030f047f77de9be25cf4ca8 (patch) | |
| tree | 94f935e61d6062ceaa248b2f39f445bebee39d92 | |
| parent | 8bf425323b25d464ae9d712a16d96a68fa9fcf6b (diff) | |
| download | emacs-b78b918f4d61e0977030f047f77de9be25cf4ca8.tar.gz emacs-b78b918f4d61e0977030f047f77de9be25cf4ca8.zip | |
New file.
| -rw-r--r-- | nt/multi-install-info.bat | 41 |
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 @@ | |||
| 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 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., 59 Temple Place - Suite 330, | ||
| 23 | rem Boston, MA 02111-1307, 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 | ||