home *** CD-ROM | disk | FTP | other *** search
/ The World of Computer Software / World_Of_Computer_Software-02-385-Vol-1of3.iso / g / gs241j11.zip / DJGPPBAT / GSCONFIG.BAT < prev    next >
DOS Batch File  |  1992-05-08  |  685b  |  32 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 /* */ >_temp_.dop
  7. echo /* */ >_temp_.dps
  8. echo. >_temp_.dlb
  9. echo @echo off >_temp_.bat
  10. goto top
  11. :noinit
  12. shift
  13. :top
  14. if '%1'=='' goto done
  15. if '%1'=='+' goto nofin
  16. type %1 >>_temp_.bat
  17. shift
  18. goto top
  19. :done
  20. command /c _temp_.bat
  21. sort <_temp_.dob | uniq >obj.tr
  22. sort <_temp_.dow | uniq >objw.tr
  23. if exist gconfig.h erase gconfig.h
  24. rename _temp_.dh gconfig.h
  25. sort <_temp_.dop | uniq >>gconfig.h
  26. if exist lib.tr erase lib.tr
  27. rename _temp_.dlb lib.tr
  28. sort <_temp_.dps | uniq >>gconfig.h
  29. erase _temp_.d*
  30. erase _temp_.bat
  31. :nofin
  32.