]> wagnertech.de Git - projects.git/blobdiff - tools/make/mconfigure
posaune
[projects.git] / tools / make / mconfigure
index c164f10bb6b94a3976b59727a1cda6fcb3c7c257..b2bff6fb2e7e58873d37478add5594245734fdc5 100755 (executable)
@@ -192,11 +192,15 @@ then
                        rm -rf ../build
                        mkdir ../build
                fi
-               debian/$paket.build -prepare
+               if grep -- "-prepare" debian/$paket.build >/dev/null
+               then
+                       debian/rules sync
+                       debian/$paket.build -prepare
+               fi
        fi
        
        # pack prepare
-       if [ -f debian/$paket.cp -a -f $paket.control ]
+       if [ -f debian/$paket.cp -a -f debian/$paket.control ]
        then
                echo "PACK=binary" >> debian/rules.pre
        elif [ -f debian/$paket.cp ]
@@ -207,7 +211,7 @@ then
        fi
 fi
 
-if [ $compile -eq 1 -a ! -e debian/build.sh ]
+if [ $compile -eq 1 -a ! -e debian/$paket.build ]
 then
        echo "no debian/build.sh: skipping build step"
        compile=0