KDevelop 3.0 / Automake Project / Makefile.am corruption

Ludovic LANGE ludovic.lange at free.fr
Fri Jul 20 21:53:15 BST 2001


Hello,

It seems that since a few days (I don't remember exacty when, but around 
2001-07-11) the Makefile.am of my projects are corrupted when I change 
something in the target option.

It seems that the following patch is needed, but I don't really know why 
this functionnality vanished. Perharps a more experienced developper can 
have look ?

Cheers...

Ludovic LANGE



Index: parts/autoproject/targetoptionsdlg.cpp
===================================================================
RCS file: /home/kde/kdevelop/parts/autoproject/targetoptionsdlg.cpp,v
retrieving revision 1.6
diff -r1.6 targetoptionsdlg.cpp
144a145,146
 >
 >     QCString canonname = AutoProjectTool::canonicalize(target->name);
150c152
<             replaceMap.insert(target->name + "_LDADD", new_addstr);
---
 >             replaceMap.insert(canonname + "_LDADD", new_addstr);
158c160
<             replaceMap.insert(target->name + "_LIBADD", new_addstr);
---
 >             replaceMap.insert(canonname + "_LIBADD", new_addstr);
165c167
<         replaceMap.insert(target->name + "_LDFLAGS", new_ldflags);
---
 >         replaceMap.insert(canonname + "_LDFLAGS", new_ldflags);
171c173
<         replaceMap.insert(target->name + "_DEPENDENCIES", 
new_dependencies);
---
 >         replaceMap.insert(canonname + "_DEPENDENCIES", new_dependencies);


-
to unsubscribe from this list send an email to kdevelop-request at kdevelop.org with the following body:
unsubscribe »your-email-address«



More information about the KDevelop mailing list