[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Mingw-cross-env-list] [PATCH] Windows build + check target
From: |
Volker Grabsch |
Subject: |
Re: [Mingw-cross-env-list] [PATCH] Windows build + check target |
Date: |
Fri, 19 Nov 2010 11:56:19 +0100 |
User-agent: |
Mutt/1.5.18 (2008-05-17) |
Mark Brand <address@hidden> schrieb:
> That's a nice feature, but it has an unpleasant side-effect, at least on
> my system. Now "make x" always starts building even if nothing is out
> of date:
Sorry for this nasty bug. I just fixed it.
I made use of "order-only prerequisites". Without that nice feature,
things would have been quite complicated:
http://hg.savannah.gnu.org/hgweb/mingw-cross-env/rev/5a325871b88a
In addition, I added a "cache" for check-requirements, as this
takes up to 1.5 seconds on each run of Make which is quite
annoying. So the requirements are only checked on the first run
of Make, and are re-checked only when our main Makefile changed.
That way, newly added requirements will always trigger a new run
of check-requirements:
http://hg.savannah.gnu.org/hgweb/mingw-cross-env/rev/eef5ab0c2a3b
I also added a quick note to the docs:
http://hg.savannah.gnu.org/hgweb/mingw-cross-env/rev/babebbce8689
I'm using the following timestamp file, because I didn't
find a better place for it:
usr/installed/check-requirements
Maybe we should rename "usr/installed" to "usr/timestamps" or
something similar? What do you think?
Greets,
Volker
--
Volker Grabsch
---<<(())>>---