summaryrefslogtreecommitdiff
path: root/cmaker.sh
diff options
context:
space:
mode:
authorchristian mueller <christian.ei.mueller@bmw.de>2011-07-06 15:41:15 +0200
committerchristian mueller <christian.ei.mueller@bmw.de>2011-07-06 15:41:15 +0200
commit8329c1baf99ece0e93feda1331e089bc0aced52e (patch)
tree4f1e0285980596512d4f54d759345418eaa3f024 /cmaker.sh
parent958ff9a0907602f359028261de5d822ac995aede (diff)
downloadaudiomanager-8329c1baf99ece0e93feda1331e089bc0aced52e.tar.gz
adding feature in the compile script:
by adding document to the cmaker call , the documentation will be created. By default the documentation will not be created
Diffstat (limited to 'cmaker.sh')
-rwxr-xr-xcmaker.sh14
1 files changed, 12 insertions, 2 deletions
diff --git a/cmaker.sh b/cmaker.sh
index ca53478..df50919 100755
--- a/cmaker.sh
+++ b/cmaker.sh
@@ -213,14 +213,23 @@ all)
;;
*)
echo ""
- echo " Usage: ./cmaker.sh {cmake|make|all} {all|main|plugins|target xxx}"
+ echo " Usage: ./cmaker.sh {cmake|make|all} {all|main|plugins|target xxx} [document]"
echo " xxx stands for the directory of the target to be build"
echo " Output binaries are below \bin, builds are done in \build\xxx"
echo " Script does only use Subdirectories beginning with upper Cases !"
+ echo " document if this flag is present, the documentation will be created"
echo ""
exit 1
;;
esac
+echo "$3"
+doc="document"
+if [ "$3" = "$doc" ]
+then
+ export gendoc="ON"
+else
+ export gendoc="OFF"
+fi
make_build
case "$2" in
all)
@@ -237,10 +246,11 @@ target)
;;
*)
echo ""
- echo " Usage: ./cmaker.sh {cmake|make|all} {all|applications|plugins|target xxx}"
+ echo " Usage: ./cmaker.sh {cmake|make|all} {all|applications|plugins|target xxx} [-document]"
echo " xxx stands for the directory of the target to be build"
echo " Output binaries are below \bin, builds are done in \build\xxx"
echo " Script does only use Subdirectories beginning with upper Cases !"
+ echo " document if this flag is present, the documentation will be created"
echo ""
exit 1
;;