On Wed, May 07, 2008 at 02:56:41PM +0400, Dmitry E. Oboukhov wrote:
> 
> tags 479931 patch
> thanks
> 
> see attache
> 

> --- debian/rules.old  2008-05-07 14:52:37.000000000 +0400
> +++ debian/rules      2008-05-07 14:53:11.000000000 +0400
> @@ -31,7 +31,7 @@
>       # Fix file permission
>       chmod 755 debian/tmp/usr/bin/mytop
>       # Remove empty directories
> -     rmdir debian/tmp/usr/lib/perl5 debian/tmp/usr/share/perl5 
> debian/tmp/usr/lib
> +     rm -fr debian/tmp/usr/lib/perl5 debian/tmp/usr/share/perl5 
> debian/tmp/usr/lib

Usually what you do in the makefile is that you prepend the command that
may fail with a -, just like that:

    -rmdir debian/tmp/usr/lib/perl5 debian/tmp/usr/share/perl5 
debian/tmp/usr/lib

Well, I didn't test it, just out of my memory.
Regards,
Mike



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to