diff --git a/build.sh b/build.sh index 871c677..609e8bf 100755 --- a/build.sh +++ b/build.sh @@ -15,6 +15,12 @@ else JOBS=1 fi +# Check if qmake is installed on system and exits if it is not +if ! [ -x "$(command -v qmake)" ]; then + echo 'Error: qmake is not installed. Install qmake and try again.' >&2 + exit 1 +fi + VERSION=$(cat src/version.h |cut -d\" -f2) echo "Compiling SilentDragon $VERSION with $JOBS threads..." CONF=silentdragon.pro diff --git a/docs/index.html b/docs/index.html deleted file mode 100755 index a82f076..0000000 --- a/docs/index.html +++ /dev/null @@ -1,6 +0,0 @@ - - - -Hello World - - \ No newline at end of file