From: David Greaves Date: Thu, 12 May 2005 21:31:05 +0000 (+0100) Subject: The Makefile is now aware of Documentation/ include directives X-Git-Tag: v0.99~585 X-Git-Url: https://git.verplant.org/?a=commitdiff_plain;h=f77b100ada80e9d149bf763ae64d563352ebb577;p=git.git The Makefile is now aware of Documentation/ include directives It makes the includers (diff commands documentation) depend on the includee (diff format description). Signed-off-by: David Greaves Signed-off-by: Petr Baudis --- diff --git a/Documentation/Makefile b/Documentation/Makefile index b23991d5..a3ad85dc 100644 --- a/Documentation/Makefile +++ b/Documentation/Makefile @@ -8,8 +8,9 @@ html: $(DOC_HTML) man: $(DOC_MAN) -git-%: %.c $(LIB_FILE) - $(CC) $(CFLAGS) -o $@ $(filter %.c,$^) $(LIBS) +# 'include' dependencies +git-diff-%.txt: diff-format.txt + touch $@ clean: rm -f *.xml *.html *.1