[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-core-devel
Subject:    [PATCH] Re: [am_edit bug?] foo_CXXFLAGS doesn't seem to work
From:       Marc Mutz <Marc.Mutz () uni-bielefeld ! de>
Date:       2002-12-10 10:28:05
[Download RAW message or body]

[Attachment #2 (multipart/mixed)]


On Monday 09 December 2002 20:03, Stephan Kulow wrote:
<snip>
> Basicly not supported.
<snip>

This is basic automake functionality. Who do you think you're talking 
to? >:-(

It's a bug in am_edit. Point.

Attached patch fixes it for me.

Marc

-- 
[Norton SystemWorks 2002] Wipe Info uses hexadecimal values to wipe
files. This provides more security than wiping with decimal values.
                           -- Norton SystemWorks 2002 Manual, p.160
                              (seen on Cryptogram 12/01)

["am_edit.patch" (text/x-diff)]

--- ../../kdelibs/admin/am_edit	Mon Dec  9 18:44:33 2002
+++ am_edit	Tue Dec 10 11:20:41 2002
@@ -512,7 +512,9 @@
     # Note: we lose the trailing spaces but that's ok.
     # Don't mangle line-leading spaces (usually tabs)
     # since they're important.
-    $MakefileData =~ s/\\\s*\n/\034/g;
+    # (mmutz: not all line continuations are tagged with \
+    #         some have @AMDEPBACKSLASH@ (very probably also other) tags)
+    $MakefileData =~ s/(?:\\|\@AMDEPBACKSLASH\@)\s*\n/\034/g;
 
     # If we've processed the file before...
     restoreMakefile ()      if ($MakefileData =~ /$progId/);

[Attachment #6 (application/pgp-signature)]

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic