#!/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.gluegen gluegen-rt-main ${VERSION} jar GlueGen Runtime JNI binding generator (runtime) http://jogamp.org/gluegen/www/ \${project.groupId} gluegen-rt \${project.version} EOF for PLATFORM in ${PLATFORMS} do cat < \${project.groupId} gluegen-rt \${project.version} natives-${PLATFORM} EOF done cat < EOF cat gluegen.pom.in || exit 1 cat < EOF