1for file in ../../../../boost/math/tools/*.hpp; do 2cat > tools_$(basename $file .hpp)_inc_test.cpp << EOF; 3// Copyright John Maddock 2006. 4// Use, modification and distribution are subject to the 5// Boost Software License, Version 1.0. (See accompanying file 6// LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) 7// 8// Basic sanity check that header <boost/math/tools/$(basename $file)> 9// #includes all the files that it needs to. 10// 11#include <boost/math/tools/$(basename $file .hpp).hpp> 12 13EOF 14done 15 16for file in ../../../../boost/math/distributions/*.hpp; do 17cat > dist_$(basename $file .hpp)_incl_test.cpp << EOF; 18// Copyright John Maddock 2006. 19// Use, modification and distribution are subject to the 20// Boost Software License, Version 1.0. (See accompanying file 21// LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) 22// 23// Basic sanity check that header <boost/math/distributions/$(basename $file)> 24// #includes all the files that it needs to. 25// 26#include <boost/math/distributions/$(basename $file .hpp).hpp> 27 28EOF 29done 30 31for file in ../../../../boost/math/special_functions/*.hpp; do 32cat > sf_$(basename $file .hpp)_incl_test.cpp << EOF; 33// Copyright John Maddock 2006. 34// Use, modification and distribution are subject to the 35// Boost Software License, Version 1.0. (See accompanying file 36// LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) 37// 38// Basic sanity check that header <boost/math/special_functions/$(basename $file)> 39// #includes all the files that it needs to. 40// 41#include <boost/math/special_functions/$(basename $file .hpp).hpp> 42 43EOF 44done 45 46 47