[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Doc-less GCC builds?



Joel Aelwyn writes:
> Am I just being dense, or is there *no* way to effectively turn off doc
> builds in the GCC packages as of 3.3/3.4?

dpkg-buildpackage -B ...
fakeroot debian/rules binary-arch

> This is not a concern for normal
> builds, but it can be extremely useful when, say, trying to bootstrap a
> compiler for a new port - since the GCC build itself (mostly) requires only
> things that are either base, or have very short dependancy chains - but
> the doc build requires texinfo, doxygen, and graphviz, which between them
> appear to pull in half the known universe.

the texinfo dependency still remains, or you have to disable all
patches which touch the texi files.

> Ok, not really, that would be KDE or Gnome, but it's still a huge variety
> of things which are unlikely to be easily worked with if you're at the
> stage of "let's build a compiler" if you're tracing Build-Depends rather
> than just Depends.

disable the build of java and you can get rid off libgtk as well.

	Matthias



Reply to: