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

List:       kde-commits
Subject:    kde-common/admin
From:       Stephan Kulow <coolo () kde ! org>
Date:       2005-04-18 8:49:18
Message-ID: 20050418084918.BEFA8625 () office ! kde ! org
[Download RAW message or body]

CVS commit by coolo: 

support qtonly correctly
BUGS: 104112


  M +6 -3      am_edit   1.416


--- kde-common/admin/am_edit  #1.415:1.416
@@ -1378,6 +1378,9 @@
                 $dep_lines .= "$source.h: $sourcedir$source.ui\n";
                 $dep_lines .= "\trm -rf $source.h;\n";
-                $dep_lines .= "\t\$(UIC) $sourcedir$source.ui | \$(PERL) -pi -e \
\"s,public QWizard,public KWizard,g; s,#include <qwizard.h>,#include <kwizard.h>,g\" \
                >> $source.h ;\n";
-
+                if (!$kdeopts{"qtonly"}) {
+                    $dep_lines .= "\t\$(UIC) $sourcedir$source.ui | \$(PERL) -pi -e \
\"s,public QWizard,public KWizard,g; s,#include <qwizard.h>,#include <kwizard.h>,g\" \
>> $source.h ;\n"; +                } else {
+                    $dep_lines .= "\t\$(UIC) -o $source.h $sourcedir$source.ui\n";
+                }
                 $dep_lines .= "$source.moc: $source.h\n";
                 $dep_lines .= "\t\$(MOC) $source.h -o $source.moc\n";


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

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