1
0
mirror of https://github.com/aportelli/LatAnalyze.git synced 2025-07-27 20:47:06 +01:00

scripts to install Eigen headers properly

This commit is contained in:
2013-09-13 17:06:59 +01:00
parent 67d105663b
commit c4751f20a3
5 changed files with 15 additions and 3 deletions

View File

@@ -6,10 +6,13 @@ fi
ARC=$1
INITDIR=`pwd`
rm -rf latan/Eigen
ARCDIR=`tar -tf ${ARC} | head -n1 | sed -e 's@/.*@@'`
tar -xf ${ARC}
cd ${ARCDIR}
rm -rf latan/Eigen
tar -cf - Eigen --exclude='*.txt' | tar -xvf - -C ../latan/
tar -cf - Eigen --exclude='*.txt' | tar -xf - -C ../latan/
cd ../latan
echo 'eigen_files =\' > eigen_files.mk
find Eigen -type f -print | sed 's/^/ /;$q;s/$/ \\/' >> eigen_files.mk
cd ${INITDIR}
rm -rf ${ARCDIR}