How to split arch-dep and arch-indep builds
Hi all,
I am working on adding a -doc package for java-gnome. I would like the
javadoc to be generated only when for arch-indep build is done. This
will make sure that the build is not done on buildd and skip any build
timeouts because of javadoc slowness on certain architectures.
Currently java-gnome uses debhelper for build. My understanding is
that simply adding a build-indep target (which just does 'make doc')
in debian/rules file and referring this target from binary-indep
should be sufficient. Is this correct?
I also plan to convert this package to cdbs soon to keep the rules
file simple. I want to know how can I achieve same thing in cdbs based
rules file.
Any help is appreciated.
Onkar
--
Passion - Some people climb mountains - others write Free software.
Don't ask why - the reason is the same.
Reply to: