dummy help-text for help2man
authorIOhannes m zmölnig <zmoelnig@umlautQ.umlaeute.mur.at>
Thu, 11 Feb 2016 19:12:51 +0000 (20:12 +0100)
committerIOhannes m zmölnig <zmoelnig@umlautQ.umlaeute.mur.at>
Thu, 11 Feb 2016 19:12:51 +0000 (20:12 +0100)
for whatever reasons Introjucer segfaults in the pbuilder environment.
it works outside though...

debian/scripts/Introjucer-help2man

index 3961868ad7f8e9a93495994ed6dc8dccc22f5559..36cbe5f29650409db8c27de97839624f0a400676 100755 (executable)
@@ -11,19 +11,27 @@ fi
 
 case "$1" in
   -h|--help)
-    ${INTROJUCER} -h 2>/dev/null | sed -e 's|^ Introjucer --| --|'
+    #${INTROJUCER} -h 2>/dev/null | sed -e 's|^ Introjucer --| --|'
+    cat <<EOL
+Usage: Introjucer [--help] [options]
+
+The Introjucer is JUCE's own software project management workbench.
+It provides a Graphical User Interface to create your own JUCE based projects,
+and allows you to create various build systems (Makefiles, XCode projects,
+Visual Studio Projects,...).
+
+Generic Options:
+
+ --help
+    get a list of available cmdline arguments
+EOL
     ;;
   -v|-V|--version)
     #${INTROJUCER} -h
-    #echo "JUCE $(dpkg-parsechangelog -SVersion | cut -d: -f2- | sed -e 's|-[^-]*$||' -e 's|.repack$||')"
-    echo "JUCE"
-    ;;
-  -t|--test)
-    echo "LIBJUCE_PATH: ${LIBJUCE_PATH}"
-    echo "INTROJUCER: ${INTROJUCER}"
-    echo "LD_LIBRARY_PATH: ${LD_LIBRARY_PATH}"
-    ls -l "${INTRODUCER}" "${LIBJUCE_PATH}"
-    sleep 100
+cat <<EOL
+JUCE
+Copyright © ROLI Ltd.
+EOL
     ;;
   *)
     ;;