#!/bin/bash set -e function usage { cat <debian/mconnect.conf # generated by configure compile_type=NONE target_type=DEB MCONNECT mconfigure mconnect ;; libcob-ocesql) cat <debian/libcob-ocesql.conf # generated by configure compile_type=ANY target_type=DEB OCESQL mconfigure -v 1.4 libcob-ocesql ;; webssh) cat <debian/webssh.conf # generated by configure compile_type=ANY target_type=DEB WEBSSH mconfigure -V webssh ;; *) echo "Invalid project." usage exit 25 ;; esac