This is the mail archive of the cluster-cvs@sourceware.org mailing list for the cluster.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

master - build: fix clean target of contrib section


Gitweb:        http://git.fedorahosted.org/git/cluster.git?p=cluster.git;a=commitdiff;h=ed9c9dd734e936a6b4817500677a6f4424b0bf36
Commit:        ed9c9dd734e936a6b4817500677a6f4424b0bf36
Parent:        e9816024281b6df0c1cad6fef1b97453883b5335
Author:        Fabio M. Di Nitto <fdinitto@redhat.com>
AuthorDate:    Wed Aug 27 09:47:14 2008 +0200
Committer:     Fabio M. Di Nitto <fdinitto@redhat.com>
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 <fdinitto@redhat.com>
---
 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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]