Summary: | Automake manager put a file in Makefile.am twice | ||
---|---|---|---|
Product: | [Applications] kdevelop | Reporter: | Martin Pärtel <martin.partel> |
Component: | Build tools: Automake | Assignee: | KDevelop Developers <kdevelop-devel> |
Status: | RESOLVED FIXED | ||
Severity: | normal | ||
Priority: | NOR | ||
Version: | 3.0.1 | ||
Target Milestone: | --- | ||
Platform: | Gentoo Packages | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: |
Description
Martin Pärtel
2004-02-27 12:44:16 UTC
I think the solution is to rerun configure after removing a target. Then add as many targests as you want. Reconfigure and that's it No, configuring didn't remove the second entry. I also tried distclean, which resulted in doing "autoconf & friends" and configure. It didn't remove the second entry. Aren't Makefile.am-s the files one writes oneself if not using and IDE? In KDevelop 2 there was a selection to update all Makefile.am-s but I can't find it in KDevelop 3 (which is good since it should be fully automatic IMO). 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", "" ); |