----- Original Message ----- > > Actually some advice would be great, having had an initial look into > > this one now. Patch below shows the basic split we'll need to make > > the architecture independent packages generated separately, but I'm > > not sure how to fit that split into the rest of the rules file (I get > > the same sort of errors with a change like this in place no matter > > what I try - maybe its obvious to someone more deb knowledgeable?). > > I have not tested the patch but I see why it would not work. > > Try putting "dh_builddeb" somewhere in binary-indep, otherwise the > actual .deb packages will not be created. > > Thanks. >
Taa. I see problems in the binary-indep target before the build reaches that stage though. The debian/rules uses dh_install(1) - in particular, it relies on this behaviour from the man page... On the other hand, maybe you have a large package that builds multiple binary packages. You can use the upstream Makefile to install it all into debian/tmp, and then use dh_install to copy directories and files from there into the proper package build directories. And dh_install fails when used by the binary-indep target - it requires files from both binary-indep and binary-arch, I think. Does that mean dh_install can no longer be used for these targets as described above or does that stage need to done elsewhere? (before dh_builddeb I'm sure) Thanks. -- Nathan