• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Creating a custom "clean" target?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Creating a custom "clean" target?


  • Subject: Creating a custom "clean" target?
  • From: Jack Repenning <email@hidden>
  • Date: Mon, 7 Apr 2008 19:27:12 -0700

How can I create a custom clean target?

I have a target whose sole step is a "Run Script". The script in question does
cd some-sub-directory
make with a few arguments


I would like to arrange that "clean" on this target does
  cd some-sub-directory
  make with a few arguments ending in clean

But I can't figure out how to make a target or step that runs during "clean". It is, unfortunately, unreasonable for me to try to guess what-all needs to be cleaned up; the Makefile downloads some stuff from the net, and the "stuff" is pretty much in charge of what gets made. But the Makefile knows.

Surely, this must be a FAQ! I apologize for asking it again. I did search the archives, but ended up drowning in near-matches; if there was an actual match, I missed it.


-==- Jack Repenning email@hidden Project Owner SCPlugin http://scplugin.tigris.org "Subversion for the rest of OS X"


_______________________________________________ Do not post admin requests to the list. They will be ignored. Xcode-users mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: This email sent to email@hidden
  • Follow-Ups:
    • Re: Creating a custom "clean" target?
      • From: Chris Espinosa <email@hidden>
  • Prev by Date: Xcode keyboard shortcuts for cycling the open files list
  • Next by Date: Xcode 3.0 text editor cursor position changed
  • Previous by thread: Re: Xcode keyboard shortcuts for cycling the open files list
  • Next by thread: Re: Creating a custom "clean" target?
  • Index(es):
    • Date
    • Thread