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:
parent
6ca4594312
commit
f77b100ada
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user