public inbox for cluster-cvs@sourceware.org
help / color / mirror / Atom feed
* master - build: fix clean target of contrib section
@ 2008-08-27 11:25 Fabio M. Di Nitto
0 siblings, 0 replies; only message in thread
From: Fabio M. Di Nitto @ 2008-08-27 11:25 UTC (permalink / raw)
To: cluster-cvs-relay
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
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2008-08-27 7:48 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-08-27 11:25 master - build: fix clean target of contrib section Fabio M. Di Nitto
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).