From 2d71ffafb8f16e6734ab424bad2ae6935559a701 Mon Sep 17 00:00:00 2001 From: Pekka Riikonen Date: Sun, 1 May 2005 14:48:34 +0000 Subject: [PATCH] Added dependency support for configure.ad files too. --- apps/autodist/CHANGES | 4 +++- apps/autodist/autodist.in | 6 +++++ apps/autodist/doc/autodist.texi | 40 +++++++++++++++++++++++++-------- 3 files changed, 40 insertions(+), 10 deletions(-) diff --git a/apps/autodist/CHANGES b/apps/autodist/CHANGES index 2c5228ce..c12239a9 100644 --- a/apps/autodist/CHANGES +++ b/apps/autodist/CHANGES @@ -1,4 +1,4 @@ -Sun May 1 12:31:55 EEST 2005 Pekka Riikonen +Sun May 1 17:31:55 EEST 2005 Pekka Riikonen * Added support for dependencies in makefiles. @@ -9,6 +9,8 @@ Sun May 1 12:31:55 EEST 2005 Pekka Riikonen * Added -p option to Autodist. It can be used to a process file from the command line. + * Added dependency support for configure.ad files as well. + Sat Apr 30 17:49:05 EEST 2005 Pekka Riikonen * The 'noprocess' directive now works recursively with diff --git a/apps/autodist/autodist.in b/apps/autodist/autodist.in index 2e600820..85f36d9d 100755 --- a/apps/autodist/autodist.in +++ b/apps/autodist/autodist.in @@ -529,11 +529,17 @@ EOF # Enable dependencies if requested if test x$am_deps = xtrue; then + # Get list of configure.ad's to get them into deps also + cfs=`find . -type f -name configure\*\.ad` + cfs=`echo $cfs | sed 's/\.\///g'` + cat >> $fname <