From 5aa9243bac16fe69adfc511a9daeebdb25cf9eed Mon Sep 17 00:00:00 2001 From: Tom Tromey Date: Mon, 27 Nov 1995 19:35:39 +0000 Subject: [PATCH] (generate_makefile): Put Makefile.in, Makefile.am in @dist_common (handle_configure): Use @dist_common as appropriate --- automake.in | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/automake.in b/automake.in index f296e885..6e56bd9e 100755 --- a/automake.in +++ b/automake.in @@ -209,7 +209,7 @@ sub generate_makefile $output_trailer = ''; @suffixes = (); %contents = (); - @dist_common = (); + @dist_common = ('Makefile.in', 'Makefile.am'); @install_data = (); @install_exec = (); @uninstall = (); @@ -657,8 +657,8 @@ sub handle_configure { if (-f 'aclocal.m4') { - # FIXME use dist_common here. $output_vars .= "ACLOCAL = aclocal.m4\n"; + push (@dist_common, 'aclocal.m4'); } $output_rules .= &file_contents ('remake'); } @@ -667,18 +667,20 @@ sub handle_configure && $contents{'CONFIG_HEADER'} !~ m,/,) { # Header defined and in this directory. - # FIXME use dist_common here where appropriate. if (-f 'acconfig.h') { $output_vars .= "ACCONFIG = acconfig.h\n"; + push (@dist_common, 'acconfig.h'); } if (-f 'config.h.top') { $output_vars .= "CONFIG_TOP = config.h.top\n"; + push (@dist_common, 'config.h.top'); } if (-f 'config.h.bot') { $output_vars .= "CONFIG_BOT = config.h.bot\n"; + push (@dist_common, 'config.h.bot'); } push (@dist_common, 'stamp-h.in', $contents{'CONFIG_HEADER'} . '.in'); -- 2.43.5