From: Pekka Riikonen Date: Fri, 22 Apr 2005 20:40:27 +0000 (+0000) Subject: No non-source distdef processing for source files anymore: X-Git-Tag: autodist.1.2~1 X-Git-Url: http://git.silcnet.org/gitweb/?p=autodist.git;a=commitdiff_plain;h=b61df5d9f82725e7ed48203244d32104c5302d28;hp=066479d9b5ff761b69ae2bfa03a617e40226548d No non-source distdef processing for source files anymore: --- diff --git a/apps/autodist/CHANGES b/apps/autodist/CHANGES index 170433a..fab0d84 100644 --- a/apps/autodist/CHANGES +++ b/apps/autodist/CHANGES @@ -7,6 +7,9 @@ Fri Apr 22 20:23:06 EEST 2005 Pekka Riikonen * No Autodist header for "other" '.ad' files as we don't know what the file contains. + * No non-source distdef format processing for source files + anymore. + Tue Apr 19 17:12:09 EEST 2005 Pekka Riikonen * Remove extra ' ' and '\t' when joining backslashed lines. 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