Don't include ../README in git.txt - make a local copy
asciidoc 7.0.4 and newer considers such includes from parent directory unsafe. Signed-off-by: Pavel Roskin <proski@gnu.org> Signed-off-by: Junio C Hamano <junkio@cox.net>
Pavel Roskin committed
Jan 25, 2006 at 01:52 UTC
941c9449999192e2d338ee204f4153e30ae43829
3 files changed
+8
-4
Documentation/.gitignore
+1
@@ -4,3 +4,4 @@
4
*.7
5
howto-index.txt
6
doc.dep
7
+README
Documentation/Makefile
+6
-3
@@ -62,11 +62,14 @@ doc.dep : $(wildcard *.txt) build-docdep.perl
62
63
-include doc.dep
64
65
-git.7: ../README
65
+git.7: README
66
+
67
+README: ../README
68
+ cp $< $@
69
70
71
clean:
69
- rm -f *.xml *.html *.1 *.7 howto-index.txt howto/*.html doc.dep
72
+ rm -f *.xml *.html *.1 *.7 howto-index.txt howto/*.html doc.dep README
73
74
%.html : %.txt
75
asciidoc -b xhtml11 -d manpage -f asciidoc.conf $<
@@ -77,7 +80,7 @@ clean:
80
%.xml : %.txt
81
asciidoc -b docbook -d manpage -f asciidoc.conf $<
82
80
-git.html: git.txt ../README
83
+git.html: git.txt README
84
85
glossary.html : glossary.txt sort_glossary.pl
86
cat $< | \
Documentation/git.txt
+1
-1
@@ -586,7 +586,7 @@ git Diffs
586
587
Discussion[[Discussion]]
588
------------------------
589
-include::../README[]
589
+include::README[]
590
591
Authors
592
-------