8.4 Releasing the Sources

When you are finished with a package or a package hierarchy, you can release the sources. If you have made changes that should be retained, it is prudent to check that they really have been committed in--even if you think you did. If the package originates from CVS, the cvs release command will automatically perform the checking, prompt you for approval, and if given, it will proceed to delete the directories recursively. It is recommended to use this command instead of deleting the tree by any other means.[1] A package that did not originate from CVS can be deleted with a simple recursive rm command like this:
$ rm -fr work

If you only delete parts of a package hiearchy, you must rerun the configure script from the root of the release before rerunning make or configure scripts elsewhere in the hierarchy. This will update the release tools' internal data to reflect the changes. The same applies when packages are added to the structure.

Notes

[1]

There is a bug in current AFS implementing in that sometimes certain cvs commands, including release, fail to remove empty directories. See Section B.1, ``Interactions Between AFS And CVS'' for details.