[Bug 76263] Automake manager put a file in Makefile.am twice

Matt Rogers mattr at kde.org
Mon Oct 23 12:18:58 UTC 2006


------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
         
http://bugs.kde.org/show_bug.cgi?id=76263         
mattr kde org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|                            |FIXED



------- Additional Comments From mattr kde org  2006-10-23 14:18 -------
SVN commit 598371 by mattr:

Patch from Megan Webb to fix bug 76263:
Correctly remove files from the interal data storage of the automake
manager when removing targets.

BUG: 76263
CCMAIL: mwebb unwired com au


 M  +3 -0      removetargetdlg.cpp  


--- branches/kdevelop/3.4/buildtools/autotools/removetargetdlg.cpp #598370:598371
 @ -203,6 +203,9  @
 	// they are ignored
 	removeMap.insert ( canonname + "_SOURCES", "" );
 
+	// remove from our internal list
+	m_spitem->variables.erase(canonname+"_SOURCES");
+
 	if ( m_titem->primary == "PROGRAMS" || m_titem->primary == "LTLIBRARIES" )
 	{
 		removeMap.insert ( canonname + "_LDFLAGS", "" );




More information about the KDevelop-devel mailing list