The Makefile is now aware of Documentation/ include directives
authorDavid Greaves <david@dgreaves.com>
Thu, 12 May 2005 21:31:05 +0000 (22:31 +0100)
committerPetr Baudis <xpasky@machine.sinus.cz>
Fri, 13 May 2005 22:01:41 +0000 (00:01 +0200)
It makes the includers (diff commands documentation) depend on the includee
(diff format description).

Signed-off-by: David Greaves <david@dgreaves.com>
Signed-off-by: Petr Baudis <pasky@ucw.cz>
Documentation/Makefile

index b23991d52b245dd3ae267941f83e540bf0f4b2e5..a3ad85dce757560cc704a5c9342936b86e46658e 100644 (file)
@@ -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