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>
maint
David Greaves 2005-05-12 22:31:05 +01:00 committed by Petr Baudis
parent 6ca4594312
commit f77b100ada
1 changed files with 3 additions and 2 deletions

View 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