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

Re: .debhelper files



On Sat, Feb 24, 2001 at 03:42:26PM +0100, Eric VB wrote:
> When I run debhelper on pristine source tree, *.debhelper files are created.
> Are they examples, or should they be included in the final package ?

You mean when you build the package?
They're created and are merged in with your existing maintainer
scripts where #DEBHELPER# is

e.g.

postinst
#!/bin/sh -e
echo -n foo
#DEBHELPER

postinst.debhelper
echo bar

the postinst in the package will be
#!/bin/sh -e
echo -n foo
echo bar

> 
> Thanks.
> 
> -- 
> Eric VAN BUGGENHAUT
> 
> Eric.VanBuggenhaut@AdValvas.be
> 
> 
> --  
> To UNSUBSCRIBE, email to debian-mentors-request@lists.debian.org
> with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
> 

-- 
Brian Russo      <brusso@phys.hawaii.edu>
Debian/GNU Linux <wolfie@debian.org> http://www.debian.org
LPSG "member"    <wolfie@lpsg.org>   http://www.lpsg.org
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-



Reply to: