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

Re: Elegant Debhelper way to specify files between runtime and debug library packages



Gergely Nagy <algernon@balabit.hu> writes:

> Ben Finney <ben+debian@benfinney.id.au> writes:
>
> > What is the recommended way to specify packaging for a library
> > package and its corresponding debug symbols package?
>
[…]

> You could do something like:
>
> install: build
> 	dh $@ --package=foo-dbg
> 	dh $@ --exclude "*_d.so"
>
> debhelper should know that it did install foo-dbg already, so in the
> second case, it won't install that again. (AFAIK, haven't tested, so I
> might be wrong here).

This worked fine, thank you for the improvement.

-- 
 \      “My interest is in the future, as I am going to spend the rest |
  `\                          of my life there.” —Charles F. Kettering |
_o__)                                                                  |
Ben Finney


Reply to: