From: Tom Tromey Date: Sun, 26 Nov 1995 05:39:41 +0000 (+0000) Subject: Only do version.texi processing if requested. X-Git-Tag: Release-0-25~170 X-Git-Url: https://sourceware.org/git/?a=commitdiff_plain;h=74f5451bbb73ee0840cd5110d03aae9689bc3028;p=automake.git Only do version.texi processing if requested. --- diff --git a/automake.in b/automake.in index 96fc267c..58f62160 100755 --- a/automake.in +++ b/automake.in @@ -315,7 +315,11 @@ p am_infobase=`echo "$TEXINFOS" | sed 's/\.texi//'` - am_deps=version.texi + am_deps= + # Only do version.texi if requested. + if grep version.texi $TEXINFOS; then + am_deps="version.texi $am_deps" + fi if eval "test \"\$var_${am_infobase}_TEXINFOS\" = explicit"; then # User supplied eg automake_TEXINFOS. So use those as # dependencies.