From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 20793 invoked by alias); 27 Aug 2008 07:48:46 -0000 Received: (qmail 20787 invoked by alias); 27 Aug 2008 07:48:46 -0000 X-Spam-Status: No, hits=-1.0 required=5.0 tests=AWL,BAYES_00,KAM_MX,SPF_HELO_PASS X-Spam-Check-By: sourceware.org X-Spam-Checker-Version: SpamAssassin 3.2.4 (2008-01-01) on bastion.fedora.phx.redhat.com X-Spam-Level: Subject: master - build: fix clean target of contrib section To: cluster-cvs-relay@redhat.com X-Project: Cluster Project X-Git-Module: cluster.git X-Git-Refname: refs/heads/master X-Git-Reftype: branch X-Git-Oldrev: e9816024281b6df0c1cad6fef1b97453883b5335 X-Git-Newrev: ed9c9dd734e936a6b4817500677a6f4424b0bf36 From: "Fabio M. Di Nitto" Message-Id: <20080827074750.5CCC0120369@lists.fedorahosted.org> Date: Wed, 27 Aug 2008 11:25:00 -0000 X-Scanned-By: MIMEDefang 2.58 on 172.16.52.254 Mailing-List: contact cluster-cvs-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: cluster-cvs-owner@sourceware.org X-SW-Source: 2008-q3/txt/msg00318.txt.bz2 Gitweb: http://git.fedorahosted.org/git/cluster.git?p=cluster.git;a=commitdiff;h=ed9c9dd734e936a6b4817500677a6f4424b0bf36 Commit: ed9c9dd734e936a6b4817500677a6f4424b0bf36 Parent: e9816024281b6df0c1cad6fef1b97453883b5335 Author: Fabio M. Di Nitto AuthorDate: Wed Aug 27 09:47:14 2008 +0200 Committer: Fabio M. Di Nitto CommitterDate: Wed Aug 27 09:47:14 2008 +0200 build: fix clean target of contrib section make sure we can always clean when building outside the source tree. Signed-off-by: Fabio M. Di Nitto --- contrib/askant/Makefile | 8 ++++---- 1 files changed, 4 insertions(+), 4 deletions(-) diff --git a/contrib/askant/Makefile b/contrib/askant/Makefile index d817243..3773349 100644 --- a/contrib/askant/Makefile +++ b/contrib/askant/Makefile @@ -10,15 +10,15 @@ CFLAGS += -I$(SRCDIR)/gfs2/include LDFLAGS += -L$(OBJDIR)/gfs2/libgfs2 -lgfs2 build: - CFLAGS="$(CFLAGS)" LDFLAGS="$(LDFLAGS)" python setup.py build + CFLAGS="$(CFLAGS)" LDFLAGS="$(LDFLAGS)" python $(S)/setup.py build install: - python setup.py install --root $(DESTDIR) + python $(S)/setup.py install --root $(DESTDIR) uninstall: @echo UNINSTALL TARGET UNSUPPORTED clean: - python setup.py clean - rm askant/*.pyc + python $(S)/setup.py clean + rm -rf askant/*.pyc rm -rf build