diff deploy/clean-build-and-package @ 2582:af1a7d76539d

Note if no Makefile found
author Chris Cannam
date Thu, 23 Jul 2020 16:49:42 +0100
parents 32718f05903d
children 4448639b9bb1
line wrap: on
line diff
--- a/deploy/clean-build-and-package	Thu Jul 23 16:45:40 2020 +0100
+++ b/deploy/clean-build-and-package	Thu Jul 23 16:49:42 2020 +0100
@@ -16,6 +16,11 @@
 
 if [ -d /Applications ]; then
 
+    if [ ! -f Makefile ]; then 
+	echo "You must have run a routine normal build at least once before this, so I can see which Qt settings to use"
+	exit 1
+    fi
+
     qmake=$(grep '^# Command: ' Makefile | awk '{ print $3; }')
 
     echo "Proceed to rebuild, package, and sign version $version using"