problems creating a custom build rule
problems creating a custom build rule
- Subject: problems creating a custom build rule
- From: Mark Munz <email@hidden>
- Date: Mon, 11 May 2009 10:37:26 -0700
I'm trying to add a custom build rule that will allow me to add
.markdown files to my project and essentially compile them to .html
rather than manually using a run script for individual files.
I've added a rule with custom script:
/usr/bin/Markdown.pl --html4tags ${INTPUT_FILE_PATH} >
${DERIVED_FILES_DIR}/${INPUT_FILE_BASE}.html
output file: $(DERIVED_FILES_DIR)/$(INPUT_FILE_BASE).html
However, this results in a blank file.
I did verify that INTPUT_FILE_PATH points to the markdown file.
If I build a Run Script and with
#!/bin/sh
/usr/bin/Markdown.pl --html4tags ${SRCROOT}/news/filename.markdown >
${SRCROOT}/news/filename.html
exit 0
It does "compile" the .markdown file.
What am I missing to get the perl script to properly execute using the
Build Rules?
Thanks.
--
Mark Munz
unmarked software
http://www.unmarked.com/
_______________________________________________
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