+ if [ ! -f debian/$paket.cp ]
+ then
+ echo "debian/$paket.cp missing for target type DEB"
+ exit 9
+ fi
+ if [ ! -f debian/$paket.control ]
+ then
+ echo "debian/$paket.control missing for target type DEB"
+ exit 10
+ fi
+
+ echo "PACK=binary" >> debian/rules.pre
+ if grep "^Architecture: *all" debian/$paket.control >/dev/null
+ then
+ echo "arch = all" >> debian/rules.pre
+ echo 'BINARY_INDEP = copy ../$(paket)_$(version)-$(build)_all.deb' >> debian/rules.pre
+ else
+ echo 'arch = ${DEB_HOST_ARCH}' >> debian/rules.pre
+ echo "BINARY_ARCH = copy ../${paket}_$version-${build}_"'$(arch).deb' >> debian/rules.pre
+ fi
+ if ! [ -f debian/$paket.changelog ]
+ then
+ echo "changelog_source = debian/default.changelog" >> debian/rules.pre
+ if [ -f debian/default.changelog ]
+ then
+ rm debian/default.changelog
+ fi
+ fi
+elif [ "$target_type" == "ZIP" ]