public inbox for cluster-cvs@sourceware.org
help / color / mirror / Atom feed
From: "Fabio M. Di Nitto" <fabbione@fedoraproject.org>
To: cluster-cvs-relay@redhat.com
Subject: master - build: fix clean target of contrib section
Date: Wed, 27 Aug 2008 11:25:00 -0000	[thread overview]
Message-ID: <20080827074750.5CCC0120369@lists.fedorahosted.org> (raw)

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


                 reply	other threads:[~2008-08-27  7:48 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20080827074750.5CCC0120369@lists.fedorahosted.org \
    --to=fabbione@fedoraproject.org \
    --cc=cluster-cvs-relay@redhat.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).