:ConvertToHPUX 1.5 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364
  1. #!/bin/sh
  2. # :ConvertToHPUX
  3. #
  4. #
  5. # This script converts the universal databases into
  6. # HP-UX databases.
  7. #
  8. cd /x/toolsrc/databases.release
  9. exec > ../databases.HPUX/:Log.ConvertToHPUX 2>&1
  10. DATABASES=" AGRM \
  11. BMS \
  12. MKFONTDIR \
  13. X11-FONTA \
  14. X11-FONTB \
  15. X11-FONTC \
  16. X11-FONTSRV \
  17. X11-PRG-MAN \
  18. X11-PRG \
  19. X11-RUN-MAN \
  20. X11-RUN-INFO \
  21. X11-RUN \
  22. X11-SERV \
  23. X11-SHLIBS \
  24. CFRENCH-X11 \
  25. CHINESES-X11 \
  26. CHINESET-X11 \
  27. FRENCH-X11 \
  28. GERMAN-X11 \
  29. JAPANESE-X11 \
  30. KOREAN-X11 \
  31. JPN-X11-HELP \
  32. JEUC-X11-HELP \
  33. KOR-X11-HELP \
  34. GER-X11-HELP"
  35. for i in $DATABASES
  36. do
  37. echo "making ../databases.HPUX/$i.db"
  38. rm -f ../databases.HPUX/$i.db
  39. ../dbTools/udbToDb $i.udb > ../databases.HPUX/$i.db
  40. #
  41. # concatenate the VUE runtime and font databases onto the end
  42. # of the X11-RUN database
  43. #
  44. if [ $i = "X11-RUN" ]; then
  45. ../dbTools/udbToDb VUE-RUN.udb >> ../databases.HPUX/$i.db
  46. ../dbTools/udbToDb VUE-HELP-RUN.udb >> ../databases.HPUX/$i.db
  47. fi
  48. if [ $i = "X11-RUN-MAN" ]; then
  49. ../dbTools/udbToDb VUE-MAN.udb >> ../databases.HPUX/$i.db
  50. fi
  51. if [ $i = "X11-PRG" ]; then
  52. ../dbTools/udbToDb VUE-HELP-PRG.udb >> ../databases.HPUX/$i.db
  53. fi
  54. if [ $i = "X11-RUN-INFO" ]; then
  55. ../dbTools/udbToDb VUE-HELP-INFO.udb >> ../databases.HPUX/$i.db
  56. fi
  57. done