Bug 59389

Summary: automake manager readds deleted targets
Product: [Applications] kdevelop Reporter: Anno V. Heimburg <anno>
Component: Build tools: AutomakeAssignee: KDevelop Developers <kdevelop-devel>
Status: RESOLVED WORKSFORME    
Severity: normal    
Priority: NOR    
Version: 3.0.0a4   
Target Milestone: ---   
Platform: openSUSE   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Anno V. Heimburg 2003-06-05 16:45:56 UTC
Version:           3.0.0a4 (using KDE 3.1.1)
Installed from:    SuSE
Compiler:          gcc version 3.3 20030226 (prerelease) (SuSE Linux)
OS:          Linux (i686) release 2.4.20-4GB

I imported an existing project. It had a noinst_PROGRAM named test, which I removed using the automake manager. Checking the Makefile revealed that test was gone from the noinst_PROGRAMS list and all test_* entries were removed. I then added a new noinst_PROGRAM, testfilecache, to the subproject, and suddenly, test was back in the noinst_PROGRAMS list, but without any test_* entries. Naturally, build of test failed. Manually deleting it again form the list seems to resolve the problem.

Oh, and otherwise, gideon is such a *huge* step ahead. Thank you.

Anno.
Comment 1 Anno V. Heimburg 2003-06-05 16:46:47 UTC
Whoops, of course I checked the Makefile.am, not the Makefile. Stupid me. 
Comment 2 Anno V. Heimburg 2003-06-05 22:23:38 UTC
Restarting kdevelop after manually deleting the target seems to remedy this. It 
just ain't so cool. 
 
BTW, this also happens if one manually deletes a subproject and then adding 
another one. Also, in this case, restarting gideon after the manual altering 
makes Automake manger "get it". 
 
Comment 3 Amilcar do Carmo Lucas 2003-11-01 17:44:28 UTC
Anno can you retest this one?
Comment 4 Sascha Cunz 2003-11-01 18:27:40 UTC
Works for me and current cvs source seems not to be able to reproduce this, as of it always loads the Makefile.am from disc, if it has to be changed ( so there is no memory cache of it's content inside kdevelop, which could produce such things )
Comment 5 Anno V. Heimburg 2003-11-03 13:53:38 UTC
Works for me now. Closing. Thanks.