]> git.cameronkatri.com Git - cgit.git/commit
Makefile: Git dependency, take 3
authorLars Hjemli <hjemli@gmail.com>
Wed, 6 Aug 2008 16:52:27 +0000 (18:52 +0200)
committerLars Hjemli <hjemli@gmail.com>
Wed, 6 Aug 2008 16:52:27 +0000 (18:52 +0200)
commit8c2a1367c49dbe54c90f63ae93e0c78473c7dfba
tree5ed4ea816af2f82ed43b9f875406b9394cbadde4
parente352a013aed6e925a10a92916500c7deccf1410a
Makefile: Git dependency, take 3

In commit a1266edfe the build instructions for the git libs where moved
to their real targets, which in turn depended on the phony target `git`.
But since `git` is an actual directory in cgit the git libs wouldn't be
recompiled when needed.

So with this patch (third time lucky), cgit is declared to depend on the
really phony target `libgit` and the build instructions for `libgit` is
to unconditionally rebuild git/libgit.a and git/xdiff/lib.a.

Signed-off-by: Lars Hjemli <hjemli@gmail.com>
Makefile