• 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
Re: Date compiled?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Date compiled?


  • Subject: Re: Date compiled?
  • From: Jeff LaMarche <email@hidden>
  • Date: Tue, 27 May 2008 12:16:10 -0400


On May 27, 2008, at 11:48 AM, Uli Kusterer wrote:

You'll need a shell script build phase that does a 'touch' on that header, though. Since the header hasn't changed, it will otherwise not be recompiled, and in turn you'll have the old date in your build. If you do that, you might as well just create a shell script that writes the header anew each time, which gives you full control over the date format.


Is there any way to make this work with the standard about box, or do I have to hand-roll one in order to make this work? I'm assuming the latter, but figured I'd ask just in case; I hate reinventing the wheel.

The Xcode macros only work in compiled files, though, right? I can't put __DATE__ into credits.html and expect it to do the substitution there, right?

Thanks,
Jeff
_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


  • Follow-Ups:
    • Re: Date compiled?
      • From: Uli Kusterer <email@hidden>
    • Re: Date compiled?
      • From: Jens Alfke <email@hidden>
References: 
 >Date compiled? (From: Jeff LaMarche <email@hidden>)
 >Re: Date compiled? (From: Thomas Davie <email@hidden>)
 >Re: Date compiled? (From: Uli Kusterer <email@hidden>)

  • Prev by Date: Re: Date compiled?
  • Next by Date: Re: Setting action: with a variable
  • Previous by thread: Re: Date compiled?
  • Next by thread: Re: Date compiled?
  • Index(es):
    • Date
    • Thread