Browse Source

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 20 years ago committed by Petr Baudis
parent
commit
f77b100ada
  1. 5
      Documentation/Makefile

5
Documentation/Makefile

@ -8,8 +8,9 @@ html: $(DOC_HTML) @@ -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…
Cancel
Save