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