[Qt-interest] QMAKE_DISTCLEAN

Abhishek abhishekworld at gmail.com
Wed Dec 2 20:23:27 CET 2009


you mean if I execute make distclean then it will 1st execute make clean
then the distclean
is it ?


On Wed, Dec 2, 2009 at 1:08 AM, Stephen Jackson <spjackson42 at gmail.com>wrote:

> 2009/12/1 Abhishek <abhishekworld at gmail.com>:
> >
> > Hi Stephen,
> > Cant we do
> > QMAKE_CLEAN += /path/to/file
> >
> > QT_DISTCLEAN += $${QMAKE_CLEAN}
> >
> > or
> >
> > QMAKE_CLEAN += /path/to/file
> >
> > QT_DISTCLEAN += /path/to/file
> >
> > could you please check and tell me if its works on your system.
> >
> >
>
> I assume you mean QMAKE_DISTCLEAN as per previous posts as there isn't
> a QT_DISTCLEAN.
>
> Both forms work in the sense that they both generate:
>
> clean:compiler_clean
>        -$(DEL_FILE) $(OBJECTS)
>         -$(DEL_FILE) /path/to/file
>         -$(DEL_FILE) *~ core *.core
>
> ####### Sub-libraries
>
> distclean: clean
>        -$(DEL_FILE) $(TARGET)
>        -$(DEL_FILE) /path/to/file
>        -$(DEL_FILE) Makefile
>
> However, I don't follow why you want to do this. The distclean target
> depends on the clean target, so why would you want to add files to be
> removed by distclean that are already removed by clean?
>
> --
> Cheers,
>
> Stephen Jackson
> _______________________________________________
> 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/20091203/486902a8/attachment.html 


More information about the Qt-interest-old mailing list