qt-interest@trolltech.com
[Top] [All Lists]

Re: [Qt-interest] QMAKE_DISTCLEAN

Subject: Re: [Qt-interest] QMAKE_DISTCLEAN
From: Abhishek
Date: Thu, 3 Dec 2009 00:53:27 +0530
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@xxxxxxxxx> wrote:
2009/12/1 Abhishek <abhishekworld@xxxxxxxxx>:
>
> 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@xxxxxxxxxxxxx
http://lists.trolltech.com/mailman/listinfo/qt-interest



--
Abhishek Patil

"Imagination is more important than knowledge..." -Albert Einstein
_______________________________________________
Qt-interest mailing list
Qt-interest@xxxxxxxxxxxxx
http://lists.trolltech.com/mailman/listinfo/qt-interest
<Prev in Thread] Current Thread [Next in Thread>