home *** CD-ROM | disk | FTP | other *** search
/ The World of Computer Software / World_Of_Computer_Software-02-387-Vol-3of3.iso / g / gs252src.zip / GS252 / GSCONFIG.BAT < prev    next >
DOS Batch File  |  1992-08-20  |  728b  |  31 lines

  1. @echo off
  2. if '%1'=='+' goto noinit
  3. echo + >_temp_.dob
  4. echo # >_temp_.dow
  5. echo /* This file was automatically generated by Ghostscript (gsconfig.bat). */ >_temp_.dh
  6. echo /* See gconfig.c for documentation. */ >>_temp_.dh
  7. echo /* */ >_temp_.dop
  8. echo + >_temp_.dlb
  9. echogs @echo off >_temp_.bat
  10. goto top
  11. :noinit
  12. shift
  13. :top
  14. if '%1'=='' goto done
  15. if '%1'=='+' goto nofin
  16. copy /b _temp_.bat+%1 >nul
  17. shift
  18. goto top
  19. :done
  20. command /c _temp_.bat >nul
  21. sort <_temp_.dob | uniq >obj.tr
  22. sort <_temp_.dow | uniq >objw.tr
  23. sort <_temp_.dop | uniq >>_temp_.dh
  24. if exist lib.tr erase lib.tr
  25. rename _temp_.dlb lib.tr
  26. if exist gconfig.h erase gconfig.h
  27. rename _temp_.dh gconfig.h
  28. erase _temp_.d*
  29. erase _temp_*.bat
  30. :nofin
  31.