How_To 2.7 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465
  1. How to make a fresh distribution:
  2. For a distribution you need ".distr" files and RCS files.
  3. The EM home directory contains a file called ".distr". It contains
  4. the names of all the files and directories you want to have in the distribution.
  5. The directories should contain .distr files, the other files should
  6. be placed under CVS.
  7. There are files that derive from other files and yet should be placed
  8. in the distribution.
  9. These files should not be placed under RCS or CVS.
  10. The file "Exceptions" in this directory contains the current list of
  11. these files.
  12. When all this is correct, use the shell script mktree the extract
  13. the distribution from the EM tree.
  14. sh mktree destination_tree repository_tree > destination_tree/Versions 2>f.attf
  15. Make sure that the destination tree exists and is empty!
  16. Failing to do that will almost certainly result in a welter of
  17. error messages.
  18. The file f.attf contains mktree error messages and should be compared
  19. to Exceptions.
  20. The actions of mktree are quite complicated. It starts in the current
  21. directory creating a version in the destination directory.
  22. Then it reads the .distr file.
  23. For each file mentioned there it performes certain actions:
  24. 1- Directory Change to that directory and call yourself recursively.
  25. 2- File
  26. a- Does a file LIST exist in this directory AND
  27. is the first line of LIST equal to the name of the
  28. destination file? If so, try to extract all the files
  29. named in the rest of the LIST file and call the program
  30. arch to create a library "arch cDr `cat LIST`".
  31. In this manner libraries can be distributed whose members
  32. have their own RCS file.
  33. else
  34. b- Try to run 'make distr'
  35. else
  36. c- Try to run 'make <filename>'
  37. else
  38. d- give message that says "not present" (or some such).
  39. Now, the tree contains all the files in the distribution, but it also contains
  40. files that should not be in the distribution, especially the files created
  41. by CVS.
  42. That is why we now give the command:
  43. dtar cdf distr .
  44. The file distr is the one you should put on tape!
  45. But,.... before doing that: Try it out!
  46. Repeat the process described in the installation manual.
  47. Only if that succeeds you are sure that you included the files needed.
  48. Good Luck,
  49. Ed Keizer, 85/4/15.
  50. Updated for 3rd distribution by Ceriel Jacobs, 87/3/11.
  51. And again,
  52. Good Luck!
  53. Updated for 4th distribution by Ceriel Jacobs, 88/4/08.
  54. And again,
  55. Good Luck!
  56. Updated for 5th distribution by Ceriel Jacobs, 91/19/12.
  57. And again,
  58. Good Luck!
  59. Updated for 1st upgrade to 5th distribution by Ceriel Jacobs, 91/12/11.
  60. And again,
  61. Good Luck!