diff deploy/clean-build-and-package @ 2584:fe540b4ee9b4

Merge
author Chris Cannam
date Thu, 23 Jul 2020 17:25:11 +0100
parents af1a7d76539d
children 4448639b9bb1
line wrap: on
line diff
--- a/deploy/clean-build-and-package	Thu Jul 23 17:24:55 2020 +0100
+++ b/deploy/clean-build-and-package	Thu Jul 23 17:25:11 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"