svn commit: samba r7896 - in branches/SAMBA_4_0/source/build/smb_build: .

tridge at samba.org tridge at samba.org
Sat Jun 25 03:40:35 GMT 2005


Author: tridge
Date: 2005-06-25 03:40:34 +0000 (Sat, 25 Jun 2005)
New Revision: 7896

WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=7896

Log:
don't output null rules for blank targets (caued make failure on irix)














Modified:
   branches/SAMBA_4_0/source/build/smb_build/makefile.pm


Changeset:
Modified: branches/SAMBA_4_0/source/build/smb_build/makefile.pm
===================================================================
--- branches/SAMBA_4_0/source/build/smb_build/makefile.pm	2005-06-25 03:18:22 UTC (rev 7895)
+++ branches/SAMBA_4_0/source/build/smb_build/makefile.pm	2005-06-25 03:40:34 UTC (rev 7896)
@@ -362,6 +362,10 @@
 	my $tmpdepend = array2oneperline($ctx->{DEPEND_LIST});
 	my $output;
 
+	if (! $ctx->{TARGET}) {
+		return "";
+	}
+
 	$output = "$ctx->{TYPE}_$ctx->{NAME}_DEPEND_LIST = $tmpdepend\n";
 
 	$output .= "$ctx->{TARGET}: ";



More information about the samba-cvs mailing list