On Mon, Apr 11, 2011 at 10:46 AM, steve donovan <[email protected]> wrote: > On Mon, Apr 11, 2011 at 4:38 PM, Hisham <[email protected]> wrote: >> (I just don't want every small package split >> between xyz and xyz-dev because of a couple doc files.)
LuaDist started making this a build option (SKIP_INSTALL_DOC). Although docs will always be downloaded because only complete packages are downloaded, if you set SKIP_INSTALL_DOC=true, then a package's docs are not built/installed. Likewise, there are similar variables like SKIP_INSTALL_TEST and SKIP_INSTALL_EXAMPLE and it may need SKIP_INSTALL_HEADER. Note though that docs typically are irrelevant when satisfying package dependencies, but other typical "-dev" things like headers can make-or-break builds. Presently, these options are CMake variables, only supported for source packages, not binary packages. LuaDist currently works most simply when "one source code repository" corresponds with "one distribution package". Some exceptions to this practice have been found [1], and your suggestion of separate "-dev" packages would be another exception. Instead of "-dev" and non-"-dev" packages, maybe we should be thinking more in terms of package "variants" like in MacPorts [2-3]. [1] https://github.com/LuaDist/Repository/issues/45 [2] http://guide.macports.org/#development.variants [3] http://guide.macports.org/#reference.variants _______________________________________________ Luarocks-developers mailing list [email protected] http://lists.luaforge.net/cgi-bin/mailman/listinfo/luarocks-developers
