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

Re: X Strike Force Render SVN commit: r85 - trunk/renderproto-0.9.2



On Tue, Dec 27, 2005 at 02:20:54AM -0500, X Strike Force SVN Repository Admin wrote:
> Author: dnusinow
> Date: 2005-12-27 02:20:53 -0500 (Tue, 27 Dec 2005)
> New Revision: 85
> 
> Run configure script so as to have a Makefile so we don't FTBFS

Another solution would be to add a dash in front of the "$(MAKE)
distclean" in debian/rules' clean: target rendering a failure of that
command not fatal:

--- rules.orig	2005-12-27 12:06:35.000000000 +0100
+++ rules	2005-12-27 12:06:52.000000000 +0100
@@ -12,8 +12,8 @@
 clean: xsfclean
 	dh_testdir
 	dh_testroot
-	$(MAKE) distclean
 	dh_clean build-stamp configure-stamp
+	-$(MAKE) distclean
 
 build: configure build-stamp
 build-stamp:

Regardless of wether the Makefile is shipped or not, this looks like a
good thing to do anyway.  It is also better to delete the
{build,configure}-stamps before calling distclean so in case distclean
aborts and one reruns debuild or dpkg-buildpackage one is not left with
a assumely OK but in reality broken build-tree.


cheers,

Michael

-- 
Michael Banck
Debian Developer
mbanck@debian.org
http://www.advogato.org/person/mbanck/diary.html



Reply to: