Shell scripts and inputs/outputs
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.