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

List:       kde-devel
Subject:    Re: the automoc thing
From:       "Dirk A. Mueller" <dmuell () gmx ! net>
Date:       1999-06-01 22:05:36
[Download RAW message or body]

Stephan Kulow <coolo@itm.mu-luebeck.de> wrote:

> No, you shouldn't touch that at all.

good :)

> Use "perl admin/am_edit" (automoc is obsolete) and let it work for
> you.

If automoc is obsolete, then why is it still there ?

After some testing I found out that

cvs update -r 1.35 admin/am_edit

fixes my problem. The changes between 1.36 and 1.38 don't seem to
matter (I didn't test it, though).

so the bogus commit is

Index: kdebase/admin/am_edit
===================================================================
RCS file: /home/kde/kde-common/admin/am_edit,v
retrieving revision 1.35
retrieving revision 1.36
diff -u -r1.35 -r1.36
-+- am_edit 1999/05/28 10:59:23 1.35
+++ am_edit 1999/05/29 10:03:15 1.36
@@ -388,7 +388,8 @@

       $handling = "$program.all_$suffix.$suffix:
\$(srcdir)/Makefile.in " . $sourcelist{$suffix} . " ";

-      if ($suffix =~ $cxxsuffix && defined($depedmocs{$program})) {
+      my $realsuffix = quotemeta($cxxsuffix);
+      if ($suffix =~ $realsuffix && defined($depedmocs{$program})) {
  $handling .= $depedmocs{$program};
  foreach $mocfile (split(' ', $depedmocs{$program})) {
    if ($mocfile =~ m/\.$suffix$/) {


The log message says that you fixed the .c++ suffix problem with it. As
somebody already renamed the affected files, the problem shouldn't be
there any more. So would you please either revert the commit or fix it
(I'm a perl dude, I can't even imagine what goes wrong here) ?


-- 
Dirk A. Mueller

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

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