#!/bin/sh if [ $# -ne 1 ] then echo "usage: version" 1>&2 exit 1 fi VERSION="$1" shift PLATFORMS=`cat make-platforms.txt | awk -F: '{print $1}'` || exit 1 cat < 4.0.0 org.jogamp.joal joal-main ${VERSION} jar JOAL Java™ Binding for the OpenAL® API http://jogamp.org/joal/www/ \${project.groupId} joal \${project.version} EOF for PLATFORM in ${PLATFORMS} do cat < \${project.groupId} joal \${project.version} natives-${PLATFORM} EOF done cat < EOF cat joal.pom.in || exit 1 cat < EOF