AutomationFragmentation_failures
        Candidate_v1.6.1
        Candidate_v1.7.0
        ChemicalSpaceEvaluator
        Enhanced_StructuralOptimization_continued
        Exclude_Hydrogens_annealWithBondGraph
        ForceAnnealing_with_BondGraph
        ForceAnnealing_with_BondGraph_contraction-expansion
        Gui_displays_atomic_force_velocity
        PythonUI_with_named_parameters
        StoppableMakroAction
        TremoloParser_IncreasedPrecision
        stable
      
      
      
| Line |  | 
|---|
| 1 | AT_SETUP([Checking that header files get distributed]) | 
|---|
| 2 | AT_KEYWORDS([CodeCheck header]) | 
|---|
| 3 |  | 
|---|
| 4 | ok="" | 
|---|
| 5 | echo "${#ok[*]} are ok not to get distributed: ${ok[*]}." | 
|---|
| 6 | Makefiles=`find ${abs_top_srcdir}/src -name Makefile.am` | 
|---|
| 7 | liste=`find ${abs_top_srcdir}/src -name '*.hpp'` | 
|---|
| 8 | for 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 | 
|---|
| 25 | done | 
|---|
| 26 |  | 
|---|
| 27 | AT_CLEANUP | 
|---|
       
      
  Note:
 See   
TracBrowser
 for help on using the repository browser.