From b61df5d9f82725e7ed48203244d32104c5302d28 Mon Sep 17 00:00:00 2001 From: Pekka Riikonen Date: Fri, 22 Apr 2005 20:40:27 +0000 Subject: [PATCH] No non-source distdef processing for source files anymore: --- apps/autodist/CHANGES | 3 +++ apps/autodist/autodist.in | 15 ++++++++++----- 2 files changed, 13 insertions(+), 5 deletions(-) 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 -- 2.24.0