mirror of https://github.com/CGAL/cgal
24 lines
614 B
Bash
24 lines
614 B
Bash
#!bin/bash
|
||
PATH_TO_CGAL="$1"
|
||
cd $PATH_TO_CGAL
|
||
#If set, the pattern ‘**’ used in a filename expansion context
|
||
#will match all files and zero or more directories and subdirectories.
|
||
#If the pattern is followed by a ‘/’, only directories and subdirectories match.
|
||
shopt -s globstar
|
||
for DIR in *; do
|
||
DOC_DIR=$DIR/doc/$DIR/CGAL
|
||
if [ -d "$DOC_DIR" ]; then
|
||
cd $DOC_DIR
|
||
for DOC_FILE in **/*.h; do
|
||
#if the file does not exist in the package
|
||
if [ ! -f $PATH_TO_CGAL/*/include/CGAL/$DOC_FILE ]; then
|
||
echo "$DOC_DIR/$DOC_FILE "
|
||
fi
|
||
done
|
||
cd $PATH_TO_CGAL
|
||
fi
|
||
done
|
||
|
||
|
||
|