X-Git-Url: http://wagnertech.de/gitweb/gitweb.cgi/projects.git/blobdiff_plain/03cd58bdb16034f1d0e2ae5ef835a3a977948ae9..refs/heads/master:/Configure?ds=sidebyside diff --git a/Configure b/Configure index 9e8badc..9eddd7d 100755 --- a/Configure +++ b/Configure @@ -4,28 +4,61 @@ set -e function usage { cat <debian/$1.conf +# generated by configure +compile_type=$2 +target_type=DEB +ANY_DEB +} + +function write_changelog { + # $1: package name + cat <debian/$1.changelog +projects (%VERSION%-%BUILD%) unstable; urgency=medium + * generated by configure + -- Michael Wagner Fri, 05 Dec 2025 20:03:04 +0100 +CHANGELOG +} + +if [ -z "$1" ]; then usage exit 7 fi case $1 in + +eclipse-cpp) + write_deb eclipse-cpp NONE + write_changelog eclipse-cpp + mconfigure -V eclipse-cpp + ;; + +libcob-ocesql) + write_deb libcob-ocesql ANY + mconfigure -v 1.4 libcob-ocesql + ;; + +mconnect) + write_deb mconnect ANY + mconfigure mconnect + ;; + webssh) - cat <debian/webssh.conf -# generated by configure -compile_type=ANY -target_type=DEB -WEBSSH + write_deb webssh ANY mconfigure -V webssh ;; + *) echo "Invalid project." usage exit 25 ;; esac +