• 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
Shell scripts and inputs/outputs
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Shell scripts and inputs/outputs


  • Subject: Shell scripts and inputs/outputs
  • From: Glen Low <email@hidden>
  • Date: Tue, 25 Nov 2003 05:28:11 +0800

I've now taken to putting shell scripts in a different "dummy" target in order to get them to execute first before the regular target build, and making the dummy target a direct dependent of the regular target. Hopefully I'll be able to drag and drop the build phase between targets if and when Xcode 1.1 comes out and fixes this bug.

However, it's now "working too well." -- the script is successfully triggering all the time, instead of only when the target is stale.

Shell:
/bin/sh

Script:
cd ../dotneato/common
awk -f ../awk/stringize.awk ps.txt > ps.h

Inputs
../dotneato/common/ps.txt

Outputs
../dotneato/common/ps.h

Is this a bug or did I write the inputs / outputs properly? (I tried prepending $(SRCROOT)/ to no avail.)


Cheers, Glen Low


--- pixelglow software | simply brilliant stuff www.pixelglow.com _______________________________________________ xcode-users mailing list | email@hidden Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/xcode-users Do not post admin requests to the list. They will be ignored.

  • Prev by Date: Re: Turning off spurious C warning in XCode ?
  • Next by Date: Re: Turning off spurious C warning in XCode ?
  • Previous by thread: distcc error diagnosis
  • Next by thread: Key Bindings
  • Index(es):
    • Date
    • Thread