diff options
author | Junio C Hamano <junkio@cox.net> | 2005-11-08 02:23:45 (GMT) |
---|---|---|
committer | Junio C Hamano <junkio@cox.net> | 2005-11-08 02:23:45 (GMT) |
commit | 77131db5855ed044e30706aa1219d79126686f00 (patch) | |
tree | b4623dfb4ed7399b8a40bbf27723ab47ea3588a6 /Documentation/Makefile | |
parent | 7141b3b78099941f25b17388f56a917d4f7af51d (diff) | |
parent | 390cb0c17a3a0751cfb7490a496930872f752d27 (diff) | |
download | git-77131db5855ed044e30706aa1219d79126686f00.zip git-77131db5855ed044e30706aa1219d79126686f00.tar.gz git-77131db5855ed044e30706aa1219d79126686f00.tar.bz2 |
Merge branch 'master'
Diffstat (limited to 'Documentation/Makefile')
-rw-r--r-- | Documentation/Makefile | 16 |
1 files changed, 7 insertions, 9 deletions
diff --git a/Documentation/Makefile b/Documentation/Makefile index bb9533f..f45a062 100644 --- a/Documentation/Makefile +++ b/Documentation/Makefile @@ -53,21 +53,19 @@ install: man # # Determine "include::" file references in asciidoc files. # -TEXTFILES = $(wildcard *.txt) -DEPFILES = $(TEXTFILES:%.txt=%.dep) - -%.dep : %.txt - @rm -f $@ - @$(foreach dep, $(shell grep include:: $< | sed -e 's/include::/ /' -e 's/\[\]//'), \ - echo $(<:%.txt=%.html) $(<:%.txt=%.1) : $(dep) >> $@; ) +TEXTFILES = $(wildcard git-*.txt) +doc.dep : $(TEXTFILES) build-docdep.perl + rm -f $@+ $@ + perl ./build-docdep.perl >$@+ + mv $@+ $@ --include $(DEPFILES) +-include doc.dep git.7: ../README clean: - rm -f *.xml *.html *.1 *.7 howto-index.txt howto/*.html *.dep + rm -f *.xml *.html *.1 *.7 howto-index.txt howto/*.html doc.dep %.html : %.txt asciidoc -b xhtml11 -d manpage -f asciidoc.conf $< |