update list of extensions and exceptions
check if it is safe to use a subdirectory called 'stats'
This commit is contained in:
@@ -39,9 +39,14 @@ set -e
|
||||
DIR=stats
|
||||
PREFIX1=$DIR/X
|
||||
PREFIX2=$DIR/Y
|
||||
EXTENSIONS="C h xpm gif pcx bmp jpeg png txt html vcproj sln dsp dsw cin cout cmd nef cgal dll lib tex makefile readme"
|
||||
EXTENSIONS="C cpp h xpm gif pcx bmp jpeg png txt html vcproj sln dsp dsw cin cout cmd nef cgal dll lib tex makefile readme"
|
||||
|
||||
mkdir -p $DIR
|
||||
if [ -e $DIR ]; then
|
||||
echo error: \'$DIR\' exists, this script needs \'$DIR\' for its own purposes
|
||||
exit 1
|
||||
fi
|
||||
|
||||
mkdir $DIR
|
||||
rm -f $PREFIX1* $PREFIX2*
|
||||
|
||||
if [ ! -f install_cgal ]; then
|
||||
@@ -50,10 +55,11 @@ if [ ! -f install_cgal ]; then
|
||||
fi
|
||||
|
||||
grep -r -L "^\(//\| \*\|#\) See the file LICENSE\.\(LG\|Q\)PL distributed with CGAL\." * | \
|
||||
grep -v "^$DIR/\|^include/CGAL/CORE/\|^include/CGAL/OpenNL/\|^src/CGALCore/\|^test/\|^Packages/\|^developer_scripts\|^doc_tex/\|^winutils/" | sort >$PREFIX1 || true
|
||||
grep -v "^$DIR/\|^include/CGAL/CORE/\|^include/CGAL/OpenNL/\|^include/CGAL/PDB/\|^src/CGALCore/\|^src/CGALimageIO/\|^src/CGALPDB/\|^config/support/\|test/\|^Packages/\|^developer_scripts\|^doc_tex/\|^winutils/" | sort >$PREFIX1 || true
|
||||
|
||||
echo Note that files in the following directories are ignored:
|
||||
echo include/CGAL/CORE, include/CGAL/OpenNL, src/CGALCore,
|
||||
echo include/CGAL/CORE, include/CGAL/OpenNL, include/CGAL/PDB,
|
||||
echo src/CGALCore, src/CGALimageIO, src/CGALPDB, config/support,
|
||||
echo test, Packages, developer_scripts, doc_tex, winutils
|
||||
|
||||
echo
|
||||
|
||||
Reference in New Issue
Block a user