# Copyright 2004, Revolution Linux Inc., Nicolas Dufresne
#
# This file is part of the MILLE-XTERM distribution.
# See the MILLE-XTERM (english) and/or the MILLE (french) project web site
#
# http://www.revolutionlinux.com/mille-xterm/
# http://www.mille.ca/
#
# The MILLE-XTERM framework is covered by the GNU General Public License. See
# the COPYING file in the top-level MILLE-XTERM directory. Software packages
# that are included in the MILLE-XTERM distribution have their own licenses.
#
# -------------------------------------------------------------------------
#!/bin/bash
# Script use to build the one file analysis

# Directory where source files are placed
DIR="Analysis"

#Ordered and spaces seperated list of files to include
LISTE="header data_structur interface multilanguage attributes"

# File to generate
ANALYSIS="analysis"

rm $ANALYSIS;
for i in $LISTE; do
		if [ -f $DIR/$i ]; then
				echo "Adding $i..."
				cat  $DIR/$i >> $ANALYSIS
		else
				echo "File $i does not exist!"
		fi
done
echo "Done generating $ANALYSIS."
