changeset 2582:af1a7d76539d

Note if no Makefile found
author Chris Cannam
date Thu, 23 Jul 2020 16:49:42 +0100
parents be6a245c43f3
children fe540b4ee9b4
files deploy/clean-build-and-package
diffstat 1 files changed, 5 insertions(+), 0 deletions(-) [+]
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"