From 57bb4910fa48d12e3c5364d9927626612473a7aa Mon Sep 17 00:00:00 2001 From: Tom Tromey Date: Thu, 30 Nov 1995 07:46:51 +0000 Subject: [PATCH] Reworked 'all' target handling. --- automake.in | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/automake.in b/automake.in index ebc442bbe..252cac4dc 100755 --- a/automake.in +++ b/automake.in @@ -73,7 +73,7 @@ $output_directory = '.'; @info = (); @dvi = (); -@all = ('${ALL}'); +@all = (); @check = (); @clean = (); @@ -232,7 +232,7 @@ sub generate_makefile $recursive_install = 0; @info = (); @dvi = (); - @all = ('${ALL}'); + @all = (); @check = (); @clean = (); @@ -402,6 +402,7 @@ sub handle_programs push (@uninstall, 'uninstall-programs'); push (@clean, 'programs'); push (@installdirs, '$(bindir)'); + push (@all, '$(PROGRAMS)'); } if ($libprograms) { @@ -410,6 +411,7 @@ sub handle_programs push (@uninstall, 'uninstall-libprograms'); push (@clean, 'libprograms'); push (@installdirs, '$(libexecdir)'); + push (@all, '$(LIBPROGRAMS)'); } # Handle linking. @@ -464,6 +466,7 @@ sub handle_libraries push (@install_exec, 'install-libraries'); push (@uninstall, 'uninstall-libraries'); push (@clean, 'libraries'); + push (@all, '$(LIBFILES)'); } # Handle scripts. @@ -478,6 +481,7 @@ sub handle_scripts push (@uninstall, 'uninstall-scripts'); push (@clean, 'scripts'); push (@installdirs, '$(bindir)'); + push (@all, '$(SCRIPTS)'); } if ($libscripts) @@ -487,6 +491,7 @@ sub handle_scripts push (@uninstall, 'uninstall-libscripts'); push (@clean, 'libscripts'); push (@installdirs, '$(libexecdir'); + push (@all, '$(LIBSCRIPTS)'); } } -- 2.11.4.GIT