From: Tom Tromey Date: Sun, 14 Jan 1996 00:12:04 +0000 (+0000) Subject: Bug fix X-Git-Tag: Release-0-28~4 X-Git-Url: https://sourceware.org/git/?a=commitdiff_plain;h=fcc17f6cefd23a098801489ce469a679e7a2882f;p=automake.git Bug fix --- diff --git a/ChangeLog b/ChangeLog index 2968b625..ee05a632 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,8 @@ Sat Jan 13 00:18:06 1996 Tom Tromey + * automake.in (handle_dist_worker): Depend on DEP_DISTFILES. + * dist-vars.am (DEP_DISTFILES): New variable. + * automake.in (handle_options): Support dist-shar option. (handle_dist_worker): New function. (handle_dist): Use it. diff --git a/automake.in b/automake.in index 9f406e22..fdb291a5 100755 --- a/automake.in +++ b/automake.in @@ -682,7 +682,7 @@ sub handle_dist_worker local ($distshar) = @_; local ($target) = $distshar ? 'dist-shar' : 'dist'; - $output_rules .= $target . ': $(DISTFILES)' . "\n"; + $output_rules .= $target . ': $(DEP_DISTFILES)' . "\n"; # Initialization; only at top level. if ($relative_dir eq '.') diff --git a/dist-vars.am b/dist-vars.am index 7760f7a7..49f4cee6 100644 --- a/dist-vars.am +++ b/dist-vars.am @@ -21,3 +21,6 @@ VERSION = @VERSION@ ## DIST_COMMON comes first so that README can be the very first file. DISTFILES = $(DIST_COMMON) $(SOURCES) $(HEADERS) $(TEXINFOS) $(INFOS) $(MANS) \ $(DIST_OTHER) $(DATA) +## Like DISTFILES, but look at INFO_DEPS, not INFOS. +DEP_DISTFILES = $(DIST_COMMON) $(SOURCES) $(HEADERS) $(TEXINFOS) $(INFO_DEPS) \ + $(MANS) $(DIST_OTHER) $(DATA)