Change the way the distributions are made in installers
|Reported by:||oranfry||Owned by:||oranfry|
Right now, release kits create a clean distribution (the 'distributions/web' directory) by taking a fresh export of Greenstone from svn and dropping in just the compiled items from a compiled working copy of greenstone (the 'compiled' directory).
This is risky as the code which drops in the compiled binaries must be perfectly maintained or compiled binaries will be missed out from the distribution. (This has happened before in full releases and it is naturally quite embarassing.)
Propose to change to a less risky method, where instead of taking a fresh export Greenstone as a starting point for the distribution, take a copy of the 'compiled' directory as the starting point. Then, to clean up the distribution, delete any unneeded files (.svn dirs, makefiles etc). This way all compiled binaries will automatically make it into the distribution. This method does introduce the risk that unneeded files will make it into the distribution, but the consequences of this happening are likely to be no worse than a slightly increased file size of the download.