Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 11 Mar 2008 17:15:52 -0700
From:      "Steve Franks" <stevefranks@ieee.org>
To:        "User Questions" <freebsd-questions@freebsd.org>
Subject:   OT: how to get make to run a script before each build
Message-ID:  <539c60b90803111715g5fbbdd0cg4ce817ef72a8161d@mail.gmail.com>

next in thread | raw e-mail | index | archive | help
I'd like to keep track of how many times I've run make for a given
source.  I'm sure someone knows how to get make to run a script before
doing anything else, but using the regular build rules (aka. only if a
source file has changed).  Of course typing any permutation of this
question into google gives me 10^life of universe in microseconds
hits.

Thanks,
Steve



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?539c60b90803111715g5fbbdd0cg4ce817ef72a8161d>