make clean

My Status:

In parallel, I have been trying to do my first builds (XP/MinGW/command line make) of the downloaded calitko-0.6.2 and a recent default bzr branch (as of this morning).

My Goals:

Learn the tools/process (qmake, bzr).

Improve the developer documentation for the next person.

Learn the code base (at least enough to follow the Source Talk comments).
My question:

What is the correct way to “rebuild from scratch” using the same source files after a previous full or partial (aborted) build, to be sure not to rely on any previous build products? Just guessing (based on past projects), I tried running “make clean” before running “make” and I ran into a few different problems:

Under at least SOME conditions, “make clean” appears to delete qmake-related files that it needs itself later on to complete its work.

Under at least SOME conditions, make fails to rebuild  missing generated header files — I think that to get around this I had to run qmake again between “make clean” and “make” — is that just what people do?

I didn’t want to create a ticket on this if it is all “user error” , like if “make clean” is just some kind of fluke and not intended to be used like this — is there a preferred way to force a complete rebuild from sources?

–paul

Would you like to post a relpy?


This post starts a thread.
Follow-ups:
Re: make clean
Hi Paul, Under at least SOME conditions, “make clean” appears to delete qmake-related files that it needs itself later on to complete its work. I think that should not be the case. (more...)