multi-install-info.bat 1.2 KB

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