]> wagnertech.de Git - projects.git/blobdiff - tools/make/mconfigure
posaune
[projects.git] / tools / make / mconfigure
index 0d053b1658538a3fb859fdcd1cd303ad5e2028c8..466eb15018df8cf7b8e8655e8cfb536b3be401de 100755 (executable)
@@ -107,7 +107,7 @@ fi
 
 # perform configure
 . debian/$paket.conf
-if [ -n $old_build ]
+if [ -n "$old_build" ]
 then
        rm debian/$paket.conf
 fi
@@ -125,6 +125,12 @@ then
                exit 51
        fi
        configure_args="$configure_args -c $compile_type"
+       if [ -z "$compile_target" ]
+       then
+               echo "compile_target required in $paket.conf"
+               exit 52
+       fi
+       configure_args="$configure_args -e $compile_target"
 fi
 if [ "$target_type" == "FILE" ]
 then
@@ -213,3 +219,4 @@ fi
 # build package
 debian/rules pack
 
+