Update time on Haskell binaries after build
authorIustin Pop <iustin@google.com>
Thu, 28 Jun 2012 23:00:03 +0000 (16:00 -0700)
committerIustin Pop <iustin@google.com>
Fri, 29 Jun 2012 17:34:54 +0000 (10:34 -0700)
commit70b6c284d3a079536b1a099babbc683b4fb594b2
tree74143ca46b72669b9dd06052dff949b272f1f461
parent7f119c279c90e046a4dc32d375c759593613eeda
Update time on Haskell binaries after build

This patch works around an issue in our build system. Since we don't
use cabal or 'ghc -M', we don't track actual dependencies in our
Makefile; this in turn means that editing a file that only is used in
the main 'htools' binary will keep triggering 'ghc --make' for the
hconfd binary; and this actually takes a bit of time to look at all
the dependencies.

So to work around this, we add a touch after each ghc --make, such
that we trigger the unneeded build at most once.

Signed-off-by: Iustin Pop <iustin@google.com>
Reviewed-by: RenĂ© Nussbaumer <rn@google.com>
Makefile.am