Re: [PATCH 3/3] Makefile: Add cache-tree.h to the public headers list
- From
Junio C Hamano <gitster@pobox.com>
- Date
- Sep 6, 2007, 00:16 UTC
- Message-ID
- <7vy7fkfy1c.fsf@gitster.siamese.dyndns.org>
- In-Reply-To
- <20070905232251.GC331@nomad.office.altlinux.org>
"Dmitry V. Levin" <ldv@altlinux.org> writes:
> Some external projects (e.g. parsecvs) need cache-tree.h file.
Your patch shows that our Makefile has been lacking a necessary dependency for a long time. LIB_H is not "public headers list", but more like "the headers everybody depends on", and the header file should have been on that list. Thanks.
I am however not convinced it is a good idea to treat libgit.a as if it is a library. It is not a library in the usual sense of the word. Originally we did libgit.a primarily so that we do not have to list all the *.o dependencies in the Makefile out of laziness ;-)