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>
This commit is contained in:
David Greaves 2005-05-12 22:31:05 +01:00 коммит произвёл Petr Baudis
Родитель 6ca4594312
Коммит f77b100ada
1 изменённых файлов: 3 добавлений и 2 удалений

Просмотреть файл

@ -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