git/list[1] front-page[2] threads[3] people[4] search[5] about
 

[PATCH] add proper dependancies on the xdiff source

From
Andy Whitcroft <apw@shadowen.org>
Date
Oct 17, 2006, 18:08 UTC
Message-ID
<2ffb978570666d608b8a58c39e30b9d1@pinky>
In-Reply-To
<Pine.LNX.4.64.0610171005370.3962@g5.osdl.org>

We are not rebuilding the xdiff library when its header files change. Add dependancies for those to the main Makefile.

Signed-off-by: Andy Whitcroft <apw@shadowen.org>
---
diff --git a/Makefile b/Makefile
index 932bcb9..3e54f75 100644
--- a/Makefile
+++ b/Makefile
@@ -768,6 +768,8 @@ git-http-push$X: revision.o http.o http-
 	rm -f $@ && $(AR) rcs $@ $(LIB_OBJS)
 
 XDIFF_OBJS=xdiff/xdiffi.o xdiff/xprepare.o xdiff/xutils.o xdiff/xemit.o
+$(XDIFF_OBJS): xdiff/xinclude.h xdiff/xmacros.h xdiff/xdiff.h xdiff/xtypes.h \
+	xdiff/xutils.h xdiff/xprepare.h xdiff/xdiffi.h xdiff/xemit.h
 
 $(XDIFF_LIB): $(XDIFF_OBJS)
 	rm -f $@ && $(AR) rcs $@ $(XDIFF_OBJS)
Previous: Linus TorvaldsNext: Ryan Anderson
Message 3 of 8 in “What's in git.git”
  1. Junio C HamanoOct 17, 2006
  2. Linus TorvaldsOct 17, 2006
  3. add proper dependancies on the xdiff sourceAndy Whitcroft, Oct 17, 2006
  4. Ryan AndersonOct 17, 2006
  5. Davide LibenziOct 17, 2006
  6. Junio C HamanoOct 17, 2006
  7. Linus TorvaldsOct 17, 2006
  8. Andy WhitcroftOct 17, 2006

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.