+function write_deb {
+ # $1: package name
+ # $2: compile_typ
+ cat <<ANY_DEB >debian/$1.conf
+# generated by configure
+compile_type=$2
+target_type=DEB
+ANY_DEB
+}
+
+function write_changelog {
+ # $1: package name
+ cat <<CHANGELOG >debian/$1.changelog
+projects (%VERSION%-%BUILD%) unstable; urgency=medium
+ * generated by configure
+ -- Michael Wagner <info@wagnertech.de> Fri, 05 Dec 2025 20:03:04 +0100
+CHANGELOG
+}
+
+if [ -z "$1" ]; then