source: ThirdParty/LinearAlgebra/tests/CodeChecks/testsuite-header-dist.at@ 220d2c

Action_Thermostats Adding_Graph_to_ChangeBondActions Adding_MD_integration_tests Adding_StructOpt_integration_tests AutomationFragmentation_failures Candidate_v1.6.1 ChemicalSpaceEvaluator Enhanced_StructuralOptimization Enhanced_StructuralOptimization_continued Example_ManyWaysToTranslateAtom Exclude_Hydrogens_annealWithBondGraph Fix_Verbose_Codepatterns ForceAnnealing_with_BondGraph ForceAnnealing_with_BondGraph_continued ForceAnnealing_with_BondGraph_continued_betteresults ForceAnnealing_with_BondGraph_contraction-expansion Gui_displays_atomic_force_velocity JobMarket_RobustOnKillsSegFaults JobMarket_StableWorkerPool PythonUI_with_named_parameters Recreated_GuiChecks StoppableMakroAction TremoloParser_IncreasedPrecision TremoloParser_MultipleTimesteps
Last change on this file since 220d2c was 4ecb2d, checked in by Frederik Heber <heber@…>, 8 years ago

Moved LinearAlgebra sub-package into ThirdParty folder.

  • needed to adapt location of libLinearAlgebra.la in all Makefile.am's.
  • relinked m4 subfolder, relinked am_doxygen_include.am. Both point to those present in molecuilder parent folder.
  • adapted configure.ac's:
  • Property mode set to 100644
File size: 817 bytes
Line 
1AT_SETUP([Checking that header files get distributed])
2AT_KEYWORDS([CodeCheck header])
3
4ok=""
5echo "${#ok[*]} are ok not to get distributed: ${ok[*]}."
6Makefiles=`find ${abs_top_srcdir}/src -name Makefile.am`
7liste=`find ${abs_top_srcdir}/src -name '*.hpp'`
8for header in $liste; do
9 filename=`basename $header`
10 # check whether it is one of the excluded ones
11 found=0
12 for item in $ok
13 do
14 if test x"$item" == x"$filename"
15 then
16 found=1
17 break
18 fi
19 done
20 # if not, check whether it contains the include
21 if test $found -eq 0
22 then
23 AT_CHECK([egrep -q $filename $Makefiles], 0, [ignore], [ignore], [echo "$filename is not present in any Makefile.am and thus won't get distributed. Either add to the module's Makefile.am's ..._SOURCES or at least to EXTRADIST."])
24 fi
25done
26
27AT_CLEANUP
Note: See TracBrowser for help on using the repository browser.