]> git.cameronkatri.com Git - cgit.git/commit
Makefile: another take on git dependency rules
authorLars Hjemli <hjemli@gmail.com>
Thu, 31 Jul 2008 23:25:51 +0000 (01:25 +0200)
committerLars Hjemli <hjemli@gmail.com>
Fri, 1 Aug 2008 00:04:41 +0000 (02:04 +0200)
commita1266edfe6ec1fd678c8f6b60ffbd21d88ff5a93
treeda90c4ae217fd171a28b4ce85dd38cc2db09c7ea
parent952f4ece296d91b8b41f56de9e1c3bc80f94f196
Makefile: another take on git dependency rules

When building cgit we depend on xdiff/lib.a and libgit.a in the git
directory, but the previous attempt on describing this dependency
failed since the build instructions for the libs was placed under the
phony `git` target.

This patch fixes the issue by moving the build instructions to their
real targets. It also makes it clear that only the `cgit` target
depends on the git binaries (since they're only used during linking).

And while at it, the patch also cleans up the list of phony targets.

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