next up previous contents
Next: Using UPS with releases Up: Appendix Using UPS with Previous: Appendix Using UPS with   Contents


Using UPS for packages

Packages inside the directory structure still need to be able to specify how environment variables, needed for the running of their package, must be set. For example, in the news product, NNTPSERVER must be set to the site news server machine; for tex, TEXINPUTS defines the search list of directories to look for tex files. Many of the other uses of ups/setup.* files, like path modifying, are not needed by this type of package because all of the binaries live in the release structure. Therefore, for each package in the package tree, at the same level as doc, src, include and GNUmakefile, there is a UPS subdirectory, which contains setup and unsetup files that are fragments of the full project setup. These fragments are concatenated into the full setup and unsetup files in the release tree during the release build. Each of the fragments is a fast equivalent of setup <pkg> with the appropriate version number.


next up previous contents
Next: Using UPS with releases Up: Appendix Using UPS with Previous: Appendix Using UPS with   Contents
Margaret Votava
2001-02-12