Bug 68278 - Removing file form project does not delete its entry from Makefile
Summary: Removing file form project does not delete its entry from Makefile
Status: RESOLVED INTENTIONAL
Alias: None
Product: kdevelop
Classification: Applications
Component: general (show other bugs)
Version: 3.0.0b1
Platform: unspecified Linux
: NOR normal
Target Milestone: ---
Assignee: KDevelop Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-11-15 13:40 UTC by Alexander Reinholdt
Modified: 2003-11-16 17:04 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Alexander Reinholdt 2003-11-15 13:40:24 UTC
Version:           3.0.0b1 (using KDE 3.1.93 (CVS >= 20031028),  (testing/unstable))
Compiler:          gcc version 3.3.2 (Debian)
OS:          Linux (i686) release 2.4.22

Removing a file via CVS->Remove From Repository will remove it from the repository but won't delete its entry from the Makefile. One has to correct this manually.

Regards,
Alexander
Comment 1 Amilcar do Carmo Lucas 2003-11-15 22:09:53 UTC
Which kind of build tools do you use?
Autotools
Qmake
ant ?

Regardless of the build tool you use you should remove a file by using it's
build tool GUI and not the CVS.

By using for instance the Automake Mananger GUI (Autotools build tool GUI)
You remove a file and then It asks you if you also want to remove it from cvs.
Comment 2 Alexander Reinholdt 2003-11-16 15:30:54 UTC
I use autotools as build tools.

I remember right clicking onto a file in the file tree view of version 2.x and choosing "Remove From Repository (and disk)" removed the file and its entries from the Makefiles...

If using the build tool GUI is the right way how to do it in Gideon, I'll try that. The only problem is, that I searched for this option and did not find it in the menus. Where is it located?
Comment 3 Amilcar do Carmo Lucas 2003-11-16 16:49:26 UTC
In the deatils view (rigth bottom window) you click on the file and the menu appears. Select remove.

Read the chapter 12 of the user Manual
Comment 4 Alexander Reinholdt 2003-11-16 17:04:57 UTC
Ooops, there it is. Thanks!