aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorGravatar ridiculousfish <corydoras@ridiculousfish.com>2013-01-03 15:26:29 -0800
committerGravatar ridiculousfish <corydoras@ridiculousfish.com>2013-01-03 15:26:29 -0800
commitb7c4a4fc3bcfea879d5fc9265cb219f834a9a1e8 (patch)
treefa9686dde62cad0f80ebbe0382849b029db309e2
parent9f33050a32cda5f1958ba74981a2d802969d7ffb (diff)
Teach Xcode how to pass arguments to build_documentation.sh
-rwxr-xr-xbuild_tools/build_documentation.sh6
-rw-r--r--fish.xcodeproj/project.pbxproj2
2 files changed, 4 insertions, 4 deletions
diff --git a/build_tools/build_documentation.sh b/build_tools/build_documentation.sh
index 7a210973..43473460 100755
--- a/build_tools/build_documentation.sh
+++ b/build_tools/build_documentation.sh
@@ -32,9 +32,9 @@ DOXYFILE=`resolve_path "$DOXYFILE"`
INPUTDIR=`resolve_path "$INPUTDIR"`
OUTPUTDIR=`resolve_path "$OUTPUTDIR"`
-echo "\t doxygen file: $DOXYFILE"
-echo "\t input directory: $INPUTDIR"
-echo "\toutput directory: $OUTPUTDIR"
+echo " doxygen file: $DOXYFILE"
+echo " input directory: $INPUTDIR"
+echo " output directory: $OUTPUTDIR"
# Make sure INPUTDIR is found
if test ! -d "$INPUTDIR"; then
diff --git a/fish.xcodeproj/project.pbxproj b/fish.xcodeproj/project.pbxproj
index e8d4e366..2590a905 100644
--- a/fish.xcodeproj/project.pbxproj
+++ b/fish.xcodeproj/project.pbxproj
@@ -1030,7 +1030,7 @@
);
runOnlyForDeploymentPostprocessing = 0;
shellPath = /bin/sh;
- shellScript = ". \"${SRCROOT}/build_tools/build_documentation.sh\"\n";
+ shellScript = "cd \"${SRCROOT}\" ;\n. \"./build_tools/build_documentation.sh\" \"./Doxyfile.help\" \"./doc_src\" \"$BUILT_PRODUCTS_DIR\"\n";
};
/* End PBXShellScriptBuildPhase section */