This is the mail archive of the
cluster-cvs@sourceware.org
mailing list for the cluster.
master - build: fix clean target of contrib section
- From: "Fabio M. Di Nitto" <fabbione at fedoraproject dot org>
- To: cluster-cvs-relay at redhat dot com
- Date: Wed, 27 Aug 2008 07:47:50 +0000 (UTC)
- Subject: 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