On 02/05/2014 08:33 PM, Brian Morel wrote:
> That would be awesome, but I have a lot of work to do to figure out what
> packages are only required when --enable-build-documentation in the main
> source tree.  What I've done is just removed the enable-build & make docs
> commands from the debian packaging rules.  This stops the building of the
> three doc packages.
> 
> I will be working on that though, but it might need some refactoring of the
> main Makefile, so I'll be going very slow and cautious.
> 
> Brian
> 
> 
> On Wed, Feb 5, 2014 at 9:57 PM, Charles Steinkuehler <
> [email protected]> wrote:
> 
>> I would *LOVE* to be able to build LinuxCNC without the docs.

I think it's a bad idea to complicate our packaging by making the docs
deb optional.  Disabling the docs is fine for developers doing RIP
builds, but packaging is for users, and they should have our
documentation available to them if they want it.

But if you *really* want to do it, i guess i won't stop you...  How i'd
do it (if i thought it was a good idea, which i don't) is this:

* add an option to debian/configure to disable the docs debs (they
should be enabled by default)

* move the docs package info out of debian/control.in and into a
separate control file, maybe control-docs.in, to be appended to control
if configure finds docs-debs are enabled

* move the docs build-dependencies out of control.in and into
debian/configure's config['build-dependencies'], to be added only if
docs-debs are enabled (use pbuilder to verify that the correct set of
packages got moved)

* if docs debs are disabled, have debian/configure add
--disable-build-documentation to the src/configure command line (via
debian/configure's config['src/configure']


All these things should be pretty easy with the new debian/configure script.

Please present for review a branch based on git.linuxcnc.org's
unified-build-candidate-3 branch that adds only this feature.


-- 
Sebastian Kuzminsky

------------------------------------------------------------------------------
Managing the Performance of Cloud-Based Applications
Take advantage of what the Cloud has to offer - Avoid Common Pitfalls.
Read the Whitepaper.
http://pubads.g.doubleclick.net/gampad/clk?id=121051231&iu=/4140/ostg.clktrk
_______________________________________________
Emc-developers mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/emc-developers

Reply via email to