getSubDir vs. getProjectDir

Ralf Nolden nolden at
Sat Oct 28 00:38:52 UTC 2000

Falk Brettschneider wrote:
> Hi Ralf,
> getProjectDir() doesn't work for instance for my Customer Project.
> It consists of:
> --+qextmdi
>   |
>   +--src
>   |
>   +--include
>   |
>   +--res
>   |
>   +--qextmdi
> And the ProjectDir is no Makefile at all, it contains only
> qextmdi.kdevprj. There's only a Makefile in the subdirectory qextmdi.
> So your "bugfix" makes 'make clean' impossible for me again. :-(
> Please, could you fix it back to getSubDir()?
> I suppose, you created a new bug with your getProjectDir(). ;-)
> Because I do not understand why you want to make clean in a directory
> where only project files are. I thought 'make distclean' is for that
> kind of cleaing up.
> So what is a solution that fits for _all_ projects?
I don´t know except that I think that 99% of KDevelop apps are
containing a Makefile in the *base* directory that contains make clean
;-) because they use autoconf &co. This is what you´re doing anyway when
doing a 

tar xzvf <someproject>.tar.gz
make install

you´re naturally doing a 
make clean

as well on the same location. If your base dir doesn´t have a makefile,
how do you build it then except going into src or something.

The only way to get rid of a temptation is to yield to it. Oscar Wilde

Ralf Nolden

The KDevelop Project

nolden at
rnolden at

More information about the KDevelop-devel mailing list