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

Re: problem building ratpoison



On Sat, 9 Dec 2000, Joseph Carter wrote:

> On Sat, Dec 09, 2000 at 04:44:05PM +0100, Cristian Ionescu-Idbohrn wrote:
> > Got a problem building ratpoison:
> 
> hmm..
> 
> > Corrected by applying this patch:
> [..]
> 
> Try this:
> 
> --- rules.orig  Sat Dec  9 16:22:21 2000
> +++ rules       Sat Dec  9 18:16:31 2000
> @@ -68,9 +68,9 @@
>  clean: clean1 unpatch
>  clean1:
>         dh_testdir
>         dh_testroot
>         rm -f build-stamp configure-stamp patch-stamp
> -       $(MAKE) distclean
> +       -$(MAKE) distclean
>         dh_clean
>  
>  install: build
>
> 
> This has the same effect as your conditional.

It doesn't. With my conditional $(MAKE) will not run if there's no
Makefile around.

> It WILL run the make distclean and promptly error out as before you
> patched the makefile, however it will then ignore the error because
> you told make to allow failure of that command.

Tried it first. debian/rules just aborts.

Cheers,
Cristian

-- 
Be careful, life will kill you.



Reply to: