[Qt-interest] QMAKE_DISTCLEAN

R. Reucher rene.reucher at batcom-it.net
Tue Dec 1 09:11:01 CET 2009


Thiago Macieira wrote:
> Em Terça-feira 1. Dezembro 2009, às 08.48.37, Abhishek escreveu:
>> Hi,
>> I want to remove some extra files (which are getting generated in make
>> process ) i want to clean this files on execution of "make distclean "
>> for this I am doin
>>  QMAKE_DISTCLEAN += /path/to/file # in my .pro file
>> but its not working at all
>> if I change the QMAKE_DISTCLEAN to QMAKE_CLEAN then on execution of "make
>> clean" that files get clear.
>> 
>> but I want it to work on make distclean how do I do it ?
> 
> I don't think you can change that.
> 
> make clean should clean up the by-products of the make process. So
> shouldn't your file be removed in make clean?
I haven't tried this myself, but the docs state that you _can_ change it!
See
http://qt.nokia.com/doc/4.5/qmake-variable-reference.html#qmake-distclean

HTH, René
--
René Reucher
rene.reucher at batcom-it.net
http://www.batcom-it.net/



More information about the Qt-interest-old mailing list