From f77b100ada80e9d149bf763ae64d563352ebb577 Mon Sep 17 00:00:00 2001 From: David Greaves Date: Thu, 12 May 2005 22:31:05 +0100 Subject: 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 --- Documentation/Makefile | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'Documentation') diff --git a/Documentation/Makefile b/Documentation/Makefile index b23991d52b..a3ad85dce7 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 -- cgit v1.2.3