posaune
[projects.git] / tools / make / mconfigure
index 0d053b1..466eb15 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
 
+