#!/bin/sh # CURRENT_DIR=`pwd` DATE=`date "+Last modified: %d %b %Y"` WWWDIR="/users/www/CGAL/Members/Develop/updates" TEMPPAGE="$WWWDIR/temp.html" LOCKFILE="$WWWDIR/create_packages_html.lock" NEW_PACKAGES_NAME="packages.html" OLD_PACKAGES_NAME="old_packages.html" NEW_PACKAGES_PAGE="$WWWDIR/$NEW_PACKAGES_NAME" OLD_PACKAGES_PAGE="$WWWDIR/$OLD_PACKAGES_NAME" SCRIPTDIR="/projects/CGAL/admin_scripts" RESULTDIR=/users/www/CGAL/Members/Develop/updates/testsuite list_compressed_files() { /bin/ls -l | awk '/(.*\.tar\.gz$)|(.*\.zip$)/ { print $9 }' } print_new_header() { echo "
| "$2" | " echo "|||||
| Package | " echo "Version | " echo "Documentation | " echo "L | " echo "C | " echo "Description | " echo "
| " for FILE in `list_compressed_files` ; do echo "`basename $FILE .zip`" done echo " | " echo "" if [ -f version ] ; then ${SCRIPTDIR}/format_cgal_version version else echo "version not available" fi echo " | " echo ""
if [ -d "doc_ps" ] ; then
PSFILES=`find doc_ps \( -name *.ps -o -name *.ps.gz \) -type f -print`
if [ ! -z "$PSFILES" ] ; then
for FILE in $PSFILES ; do
echo "`basename $FILE` " done else echo "not available" fi else echo "not available" fi echo " | "
echo "" if [ -f long_description.txt ] ; then echo "L" else echo "-" fi echo " | " echo "" if [ -f changes.txt ] ; then echo "C" else echo "-" fi echo " | " echo "" if [ -f description.txt ] ; then cat description.txt else echo "description not available" fi echo " | " echo "
The table below contains all packages that have been submitted to cgal-submit@cs.ruu.nl. The format of these packages is described on the CGAL Submission Rules Page. The test results can be found on the CGAL Test Suite Result Page.
EOF print_table "$WWWDIR/packages" "Recent submissions for CGAL" } print_old_submissions() { echo "