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 diff --git a/Documentation/Makefile b/Documentation/Makefile index b23991d..a3ad85d 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 v0.10.2-6-g49f6