From: Pekka Riikonen Date: Sun, 1 May 2005 14:48:34 +0000 (+0000) Subject: Added dependency support for configure.ad files too. X-Git-Tag: autodist.1.3~14 X-Git-Url: http://git.silcnet.org/gitweb/?a=commitdiff_plain;h=2d71ffafb8f16e6734ab424bad2ae6935559a701;p=silc.git Added dependency support for configure.ad files too. --- 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 <