delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2001/07/05/12:45:09

Message-ID: <3B449846.3D281DAB@postmark.net>
From: Jason Hood <adoxa AT postmark DOT net>
Organization: NiteRider
X-Mailer: Mozilla 4.77 [en] (Win98; U)
X-Accept-Language: en,pdf
MIME-Version: 1.0
Newsgroups: comp.os.msdos.djgpp
Subject: automake bug?
X-Original-NNTP-Posting-Host: 202.7.180.38
X-Original-Trace: 6 Jul 2001 02:58:48 +1000, 202.7.180.38
Lines: 18
Date: Fri, 06 Jul 2001 02:39:34 +1000
NNTP-Posting-Host: 203.12.160.33
X-Complaints-To: abuse AT telstra DOT net
X-Trace: nsw.nnrp.telstra.net 994351181 203.12.160.33 (Fri, 06 Jul 2001 02:39:41 EST)
NNTP-Posting-Date: Fri, 06 Jul 2001 02:39:41 EST
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

Another bug I came across whilst checking out GLOBAL. It appears when
creating the distribution with DISTFILES containing directories:

--- automake.~	Sun Jan 17 05:37:42 1999
+++ automake	Wed Jul  4 16:02:32 2001
@@ -2367,7 +2367,7 @@
 	$output_rules .= "\t  d=\$(srcdir); \\\n";
     }
     $output_rules .= ("\t  if test -d \$\$d/\$\$file; then \\\n"
-		      . "\t    cp -pr \$\$/\$\$file \$(distdir)/\$\$file; \\\n"
+		      . "\t    cp -pr \$\$d/\$\$file \$(distdir)/\$\$file; \\\n"
 		      . "\t  else \\\n"
 		      . "\t    test -f \$(distdir)/\$\$file \\\n"
 		      . "\t    || ln \$\$d/\$\$file \$(distdir)/\$\$file 2> /dev/null \\\n"

(I think the 'd' is missing.)

Jason.

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019