[Qt-interest] QMAKE_DISTCLEAN

Abhishek abhishekworld at gmail.com
Tue Dec 1 16:46:06 CET 2009


Hi Rene,
Docs says your can change it The question in my mind is if I set it for
QMAKE_CLEAN so while make distclean it should call qmake clean 1st the the
FORCE part of distclean isn't it? but its not Happening and the Qt DOC says
you can set the QMAKE_DISTCLEAN but it doesn't affect the Makefile. but in
case of QMAKE_CLEAN it changes the Makefile.

On Tue, Dec 1, 2009 at 1:41 PM, R. Reucher <rene.reucher at batcom-it.net>wrote:

> 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/
> _______________________________________________
> Qt-interest mailing list
> Qt-interest at trolltech.com
> http://lists.trolltech.com/mailman/listinfo/qt-interest
>



-- 
Abhishek Patil

"Imagination is more important than knowledge..." -Albert Einstein
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.qt-project.org/pipermail/qt-interest-old/attachments/20091201/b499796b/attachment.html 


More information about the Qt-interest-old mailing list