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

Re: problem building ratpoison



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 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.  This is correct behavior in this particular
case, I think.  (I have gotten far too much practice hand-editing patch
files lately..  Thank doogie for DBS.)

-- 
Joseph Carter <knghtbrd@debian.org>               GnuPG key 1024D/DCF9DAB3
Debian GNU/Linux (http://www.debian.org/)         20F6 2261 F185 7A3E 79FC
The QuakeForge Project (http://quakeforge.net/)   44F9 8FF7 D7A3 DCF9 DAB3

<Culus> OH MY GOD NOT A RANDOM QUOTE GENERATOR
<netgod> surely you didnt think that was static? how lame would that be? 
         :-)



Reply to: