X-Git-Url: http://git.silcnet.org/gitweb/?p=autodist.git;a=blobdiff_plain;f=apps%2Fautodist%2Fautodist.in;h=0b3638ff9f7f2170b6494b5218c21231ee4c7428;hp=124fe016b60e26a5e51f8dec2776964cda81a81c;hb=b61df5d9f82725e7ed48203244d32104c5302d28;hpb=066479d9b5ff761b69ae2bfa03a617e40226548d diff --git a/apps/autodist/autodist.in b/apps/autodist/autodist.in index 124fe01..0b3638f 100755 --- a/apps/autodist/autodist.in +++ b/apps/autodist/autodist.in @@ -688,11 +688,16 @@ ad_process_tree() { ad_debug ">ad_process_tree: $1" - # We take all files, other than *.ad, including source files, in case - # they use the non-C-compiler-friendly format of distdefs, which is - # possible. - - files=`find $am_distdir \! -name \*\.ad` + # Take files, except source and .ad files. + files=`find $am_distdir \! -name \*\.ad \( \ + \! -name \*\.[cC] -a \ + \! -name \*\.[cC][cCpP] -a \ + \! -name \*\.[cC][xX][xX] -a \ + \! -name \*\.[cC][pP][pP] -a \ + \! -name \*\.[cC]++ -a \ + \! -name \*\.m -a \ + \! -name \*\.[hH] -a \ + \! -name \*\.hh \)` files=`echo $files | sed 's/$am_distdir//'` # Take away noprocess list