home *** CD-ROM | disk | FTP | other *** search
/ GEMini Atari / GEMini_Atari_CD-ROM_Walnut_Creek_December_1993.iso / zip / gnu / gs252b.lzh / GS252B / GSCONFIG < prev    next >
Text File  |  1993-07-30  |  720b  |  31 lines

  1. if ( test "$1" = "+" ) then
  2.     shift
  3. else
  4.     rm -f _temp_.dob _temp_.dop _temp_.dlb _temp_.d
  5.     touch _temp_.dob _temp_.dop _temp_.dlb _temp_.d
  6.     rm -f _temp_.dh
  7.     echo '/* This file was automatically generated by Ghostscript (gsconfig). */' > _temp_.dh
  8.     echo '/* See gconfig.c for documentation. */' >>_temp_.dh
  9. fi
  10. rm -f _temp_.c
  11. cat <<EOF > _temp_.c
  12. c:/bin/sh.ttp < _temp_.d
  13. rm -f obj.tr gconfig.h lib.tr
  14. sort _temp_.dob | uniq > obj.tr
  15. sort _temp_.dop | uniq >>_temp_.dh
  16. mv _temp_.dh gconfig.h
  17. mv _temp_.dlb lib.tr
  18. rm -f _temp_.d*
  19. EOF
  20. for dev in $*
  21. do
  22.     if ( test "${dev}" = "+" ) then
  23.         rm -f _temp_.c
  24.         touch _temp_.c
  25.     else
  26.         cat ${dev} >>_temp_.d
  27.     fi
  28. done
  29. c:/bin/sh.ttp < _temp_.c
  30. rm _temp_.c
  31.