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

Re: Multiple binary source & per-package dh_ options?



On Fri, Jan 30, 2004 at 04:01:33PM -0500, Stephen Gran wrote:
> Hello all,
> 
> I am working on a multi-binary source, and what I want to do is pass
> different options to different packages.  Is this possible?  I see the
> -p option common to all debhelper programs, but how to do this?
> dh_installinit -p foo -n
> dh_installinit -a
> or something?
> 
> Anybody doing anything like this?  I can work around it by including the
> debhelper parts in all the scripts and passing the option to all
> packages, but I figured it would be nice to be able to only do it for
> the one I want.
> 
> Any pointers welcome.  Thanks in advance,


  You might try the man pages and some other packages. Beside the man
pages for each debhelper program there is a debhelper man page.
  I didn't understand what you were trying to accomplish with the init
example. In general

    dh_installinit -p foo -n
    dh_installinit -p bar -some_option

should work. Could it be that you were looking for the 

    -Xitem, --exclude=item 
	
switch?

-- 
"If you have an apple and I have  an apple and we  exchange apples then
you and I will still each have  one apple. But  if you have an idea and I
have an idea and we exchange these ideas, then each of us will have two
ideas." -- George Bernard Shaw     (sent by  shaulk @ actcom . net . il)



Reply to: