From 0366e63da9c6c654099c38b17d9dec8159c2b4ea Mon Sep 17 00:00:00 2001 From: Tom Tromey Date: Wed, 29 Nov 1995 21:27:57 +0000 Subject: [PATCH] (handle_installdirs): Always make installdirs target. --- automake.in | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) diff --git a/automake.in b/automake.in index cf97b034..05406093 100755 --- a/automake.in +++ b/automake.in @@ -798,17 +798,19 @@ sub handle_footer # Deal with installdirs target. sub handle_installdirs { - return if ($#installdirs < 0); - # GNU Makefile standards recommend this. FIXME prettyprint rule # here. $output_rules .= ("installdirs:" . ($recursive_install ? " installdirs-recursive\n" - : "\n") - . "\t\$(top_srcdir)/mkinstalldirs " - . join (' ', @installdirs) - . "\n\n"); + : "\n")); + if ($#installdirs >= 0) + { + $output_rules .= ("\t\$(top_srcdir)/mkinstalldirs " + . join (' ', @installdirs) + . "\n"); + } + $output_rules .= "\n"; } # There are several targets which need to be merged. This is because -- 2.43.5