From ae8216c67181c3781f16c8592164a791d2230a3c Mon Sep 17 00:00:00 2001
From: bienchen <stefanbienert@me.com>
Date: Thu, 10 Oct 2013 18:23:18 +0200
Subject: [PATCH] Added fedora-19 conf script

---
 conf-scripts/fedora-19-conf  | 37 ++++++++++++++++++++++++++++++++++++
 conf-scripts/osx-11.4.2-conf |  2 ++
 2 files changed, 39 insertions(+)
 create mode 100755 conf-scripts/fedora-19-conf

diff --git a/conf-scripts/fedora-19-conf b/conf-scripts/fedora-19-conf
new file mode 100755
index 00000000..6efa7fd2
--- /dev/null
+++ b/conf-scripts/fedora-19-conf
@@ -0,0 +1,37 @@
+#!/bin/sh
+
+# To find out your version of Fedora, run 'cat /etc/issue'.
+# This script is aware of out-of-source builds. Just call it from within the
+# build directory.
+
+function usage
+{
+  echo 'usage:'  
+  echo '  fedora-19-conf <OST_ROOT> [OPTIONS]'
+  echo '  OST_ROOT is the staging directory of OST.'
+  echo '  Valid options are anything that CMake accepts.'
+  exit
+}
+
+NUM_PARAMS=$#
+if [[ "$NUM_PARAMS" -lt "1" ]] ; then
+  echo 'You must specify the location of promod3 and OST (in that order).';
+  usage
+fi
+
+OST_ROOT=$(cd $1; pwd)
+shift
+PROMOD3_SRC=$(cd `dirname $0`; pwd)
+PROMOD3_SRC=${PROMOD3_SRC}/..
+
+cmake $PROMOD3_SRC -DOST_ROOT=$OST_ROOT \
+                   -DPYTHON_ROOT=/usr   \
+                   $@
+
+## Emacs magic
+# Local Variables:
+# mode: shell-script
+# End:
+
+#  LocalWords:  OSX MacPorts uname SRC OST promod CMake NUM PARAMS lt fi cd
+#  LocalWords:  pwd dirname cmake DPYTHON DBOOST conf
diff --git a/conf-scripts/osx-11.4.2-conf b/conf-scripts/osx-11.4.2-conf
index 01f00a26..f9af3027 100755
--- a/conf-scripts/osx-11.4.2-conf
+++ b/conf-scripts/osx-11.4.2-conf
@@ -3,6 +3,8 @@
 # For OSX we assume that all missing dependencies are built with MacPorts
 # and are located in '/opt/local'.
 # To find out your version of OSX, run 'uname -r'.
+# This script is aware of out-of-source builds. Just call it from within the
+# build directory.
 
 function usage
 {
-- 
GitLab