diff options
author | Hans Johnson <hans-johnson@uiowa.edu> | 2016-07-09 11:18:08 -0500 |
---|---|---|
committer | Hans Johnson <hans-johnson@uiowa.edu> | 2016-07-09 11:19:33 -0500 |
commit | 9c7f84bd600f53c59f89f16ad745e3be5cab2f07 (patch) | |
tree | cecbca4ae14e2eff829cfd9627c83237d2f339b6 /Makefile | |
parent | 78d32fd2a6d030d388981f096014c764ff7898f5 (diff) | |
download | lapack-9c7f84bd600f53c59f89f16ad745e3be5cab2f07.tar.gz lapack-9c7f84bd600f53c59f89f16ad745e3be5cab2f07.tar.bz2 lapack-9c7f84bd600f53c59f89f16ad745e3be5cab2f07.zip |
STYLE: Remove trailing whitespace in MISC files
This is mostly a long term maintenance improvement.
Many coding styles require elimination of trailing whitespace, and
many editors and source code management configurations automatically
gobble up whitespace. When these tools gobble up whitespace, it
complicates reviewing the meaningful code changes.
By removing whitespace on one patch, it makes future
code reviews much easier.
=SCRIPT====================================================================
if which tempfile &>/dev/null; then
TEMPMAKER=tempfile
elif which mktemp &>/dev/null; then
TEMPMAKER=mktemp
else
echo "Cannot find tempfile program." 2>&1
exit 1
fi
MYTEMP=$($TEMPMAKER)
trap 'rm -f $MYTEMP' SIGINT SIGTERM
stripit() {
echo "stripping $1"
sed 's/[ \t]*$//' "$1" > $MYTEMP
cp $MYTEMP "$1"
}
if [ $# -gt 0 ]; then
while [ "$1" != "" ]; do
stripit $1
shift
done
else
while read -t 2; do
stripit $REPLY
done
fi
rm $MYTEMP
=================================================
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 14 |
1 files changed, 7 insertions, 7 deletions
@@ -6,7 +6,7 @@ include make.inc -all: lapack_install lib blas_testing lapack_testing +all: lapack_install lib blas_testing lapack_testing lib: lapacklib tmglib #lib: blaslib variants lapacklib tmglib @@ -58,13 +58,13 @@ variants_testing: lib variants mv stest.out stest_lurec.out ; mv dtest.out dtest_lurec.out ; mv ctest.out ctest_lurec.out ; mv ztest.out ztest_lurec.out ) ( cd TESTING ; rm -f xlintst* ; $(MAKE) VARLIB='SRC/VARIANTS/LIB/qrll.a' ; \ mv stest.out stest_qrll.out ; mv dtest.out dtest_qrll.out ; mv ctest.out ctest_qrll.out ; mv ztest.out ztest_qrll.out ) - + blas_testing: ( cd BLAS/TESTING; $(MAKE) -f Makeblat1 ) ( cd BLAS; ./xblat1s > sblat1.out ; \ ./xblat1d > dblat1.out ; \ ./xblat1c > cblat1.out ; \ - ./xblat1z > zblat1.out ) + ./xblat1z > zblat1.out ) ( cd BLAS/TESTING; $(MAKE) -f Makeblat2 ) ( cd BLAS; ./xblat2s < sblat2.in ; \ ./xblat2d < dblat2.in ; \ @@ -74,7 +74,7 @@ blas_testing: ( cd BLAS; ./xblat3s < sblat3.in ; \ ./xblat3d < dblat3.in ; \ ./xblat3c < cblat3.in ; \ - ./xblat3z < zblat3.in ) + ./xblat3z < zblat3.in ) cblas_testing: blaslib ( cd CBLAS ; $(MAKE) cblas_testing) @@ -85,7 +85,7 @@ cblas_testing: blaslib html: @echo "LAPACK HTML PAGES GENRATION with Doxygen" doxygen DOCS/Doxyfile - @echo "==================" + @echo "==================" @echo "LAPACK HTML PAGES GENRATED in DOCS/explore-html" @echo "Usage: open DOCS/explore-html/index.html" @echo "Online version available at http://www.netlib.org/lapack/explore-html/" @@ -110,7 +110,7 @@ cleanlib: ( cd LAPACKE; $(MAKE) clean ) -cleanblas_testing: +cleanblas_testing: ( cd BLAS/TESTING; $(MAKE) -f Makeblat1 clean ) ( cd BLAS/TESTING; $(MAKE) -f Makeblat2 clean ) ( cd BLAS/TESTING; $(MAKE) -f Makeblat3 clean ) @@ -124,6 +124,6 @@ cleantesting: ( cd TESTING/EIG; $(MAKE) clean ) ( cd TESTING; rm -f xlin* xeig* ) -cleanall: cleanlib cleanblas_testing cleancblas_testing cleantesting +cleanall: cleanlib cleanblas_testing cleancblas_testing cleantesting rm -f *.a TESTING/*.out INSTALL/test* BLAS/*.out |