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

Re: Problem with temporary package build directory removal

I'm sorry, I meant dh_clean do not remove this directory.  So if package is 
foo, then the build process would create debian/foo and install all the files 
in that directory tree.  Upon dh_clean it should remove debian/foo, but it 
doesn't.  If it was called debian/tmp it seems to work, but then I need to 
add -Pdebian/tmp to most dh_* commands in debian/rules.

Clearer now?

On Friday 25 May 2001 12:45, Chris Danis wrote:
> >>>>> On Fri, 25 May 2001, "Alwyn" == Alwyn Schoeman wrote:
>   Alwyn> Hi,
>   Alwyn> The debhelper specifies that the default temporary package
>   Alwyn> building directore is debian/<package>.  This is true, but dh_make
>   Alwyn> do not remove the directory.  I do not want to do a rm -f as this
>   Alwyn> should not be necessary.  Anyone know a solution?
> dh_clean, or even better, fakeroot debian/rules clean. The latter will
> clean up the package by not only removing temporary files under debian/,
> but by calling the clean target on the upstream Makefile, cleaning out its
> build process as well.
> And what is this you say about dh_make? Are you running it more than once?
> (One should not really do that.)
> -chris

Alwyn Schoeman
Prism Wireless

The Internet will destroy the barriers that are isolating people
 from decent opportunities based on where they happened to have been born, 
and this will be a fundamental transformation of our global society that will 
greatly discomfort a lot of worthless people. Then those same worthless people
 will create new barriers based on access to source code, licenses, 
software permissions, etc. Sigh.
-- Hans Reiser

Reply to: