Re: problem building ratpoison
I stand corrected. The problem is no more.
- $(MAKE) distclean
+ -$(MAKE) distclean
should be sufficient.
Peace :)
On Sat, 9 Dec 2000, Josh Huber wrote:
> On Sat, Dec 09, 2000 at 07:37:30PM +0100, Cristian Ionescu-Idbohrn wrote:
> > > 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.
>
> This just isn't true...
>
> dh_make uses:
> # Add here commands to clean up after the build process.
> -$(MAKE) clean
>
> which works fine for auto{conf,make} projects, which don't ship with
> makefiles. Here's an example, but with distclean, just like you're
> using:
>
> [snip]
> # Add here commands to clean up after the build process.
> /usr/bin/make distclean
> make[1]: Entering directory `/tmp/mcore-user-3.1.3'
> make[1]: *** No rule to make target `distclean'. Stop.
> make[1]: Leaving directory `/tmp/mcore-user-3.1.3'
> make: [clean] Error 2 (ignored)
> dh_clean
> dpkg-source -b mcore-user-3.1.3
> [snip]
>
> So, what is the problem?
Cheers,
Cristian
--
Be careful, life will kill you.
Reply to: