Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Cristian Ionescu-Idbohrn <cristian.ionescu-idbohrn@axis.com>
To: buildroot@busybox.net
Subject: [Buildroot] missing expat-dirclean target
Date: Sun, 8 Jul 2007 15:27:11 +0200 (CEST)	[thread overview]
Message-ID: <0707081519090.3987@somehost> (raw)
In-Reply-To: <20070708131108.GL4096@aon.at>

On Sun, 8 Jul 2007, Bernhard Fischer wrote:

> On Sun, Jul 08, 2007 at 03:07:18PM +0200, Cristian Ionescu-Idbohrn wrote:
> >
> > Looks like stuff is removed both from STAGING_DIR and TARGET_DIR.  Is
> > this the correct behaviour?
>
> I think removing stuff from both staging_dir and target_dir is the way
> to go, yes.

Alright.  I still wish every makefile had a target called called
<something>-uninstall to do that.

> Consider somebody intending to turn off a package. The usual intuitive
> way is IMHO to make foo-clean then reconfigure to remove that package.
>
> I'm open to alternative suggestions, of course.

This is how I wish it was done (looks more intuitive to me):

<something>-clean	does the usual 'make clean' stuff
<something>-dirclean	wipes out the build directory
<something>-uninstall	wipes whatever was installed


-- 
Cristian

  reply	other threads:[~2007-07-08 13:27 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-07-08 12:09 [Buildroot] missing expat-dirclean target Cristian Ionescu-Idbohrn
2007-07-08 12:18 ` Bernhard Fischer
2007-07-08 13:07   ` Cristian Ionescu-Idbohrn
2007-07-08 13:11     ` Bernhard Fischer
2007-07-08 13:27       ` Cristian Ionescu-Idbohrn [this message]
2007-07-08 13:51         ` Bernhard Fischer
2007-07-08 13:34       ` Cristian Ionescu-Idbohrn

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=0707081519090.3987@somehost \
    --to=cristian.ionescu-idbohrn@axis.com \
    --cc=buildroot@busybox.net \
    /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