summaryrefslogtreecommitdiff
path: root/Documentation/Makefile
diff options
context:
space:
mode:
authorDavid Greaves <david@dgreaves.com>2005-05-12 21:31:05 (GMT)
committerPetr Baudis <xpasky@machine.sinus.cz>2005-05-13 22:01:41 (GMT)
commitf77b100ada80e9d149bf763ae64d563352ebb577 (patch)
tree9a995c5091bc2d25a66ebb7cce352c988e8bfb60 /Documentation/Makefile
parent6ca45943121a92cad5c6ebef71764fb441bff356 (diff)
downloadgit-f77b100ada80e9d149bf763ae64d563352ebb577.zip
git-f77b100ada80e9d149bf763ae64d563352ebb577.tar.gz
git-f77b100ada80e9d149bf763ae64d563352ebb577.tar.bz2
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 <david@dgreaves.com> Signed-off-by: Petr Baudis <pasky@ucw.cz>
Diffstat (limited to 'Documentation/Makefile')
-rw-r--r--Documentation/Makefile5
1 files changed, 3 insertions, 2 deletions
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