#!/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.jogl jogl-all-main ${VERSION} jar JOGL Java™ Binding for the OpenGL® API http://jogamp.org/jogl/www/ \${project.groupId} jogl-all \${project.version} EOF for PLATFORM in ${PLATFORMS} do cat < \${project.groupId} jogl-all \${project.version} natives-${PLATFORM} EOF done cat < EOF cat jogl.pom.in || exit 1 cat < EOF