#!/bin/bash VERSION=`tla tree-version 2>&1 | sed "s/^.*\([0-9][0-9]*\.[0-9][0-9]*\)$/\1/g"` TARGET_DIR=BUILD/ TARGET_DIRS=`find Structures -type d | grep -v .arch-ids` mkdir -p $TARGET_DIR ./genpackage.xml.pl > BUILD/package.xml << EOF Structures_Graph Graph datastructure manipulation library LGPL Structures_Graph is a package for creating and manipulating graph datastructures. It allows building of directed and undirected graphs, with data and metadata stored in nodes. The library provides functions for graph traversing as well as for characteristic extraction from the graph topology. sergiosgc Sérgio Carvalho sergio.carvalho@portugalmail.com lead 1.0.3 2007-01-30 stable Version 1.0.3 is functionally equivalent to 1.0.2, but released with a v1.0 package.xml to deal with bug #9965:installation problem FILESGOHERE PEAR EOF for dir in $TARGET_DIRS do mkdir -p $TARGET_DIR/$dir cp `find $dir -maxdepth 1 -type f | grep -v .arch-ids` $TARGET_DIR/$dir done cp LICENSE BUILD (cd BUILD; pear package) rm -Rf BUILD/package.xml BUILD/LICENSE BUILD/Structures