aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--.gitignore3
-rw-r--r--Makefile.doc4
2 files changed, 5 insertions, 2 deletions
diff --git a/.gitignore b/.gitignore
index 7fcd25804..32a40af67 100644
--- a/.gitignore
+++ b/.gitignore
@@ -79,6 +79,9 @@ doc/stdlib/Library.out
doc/stdlib/Library.pdf
doc/stdlib/Library.ps
doc/stdlib/Library.coqdoc.tex
+doc/stdlib/FullLibrary.pdf
+doc/stdlib/FullLibrary.ps
+doc/stdlib/FullLibrary.coqdoc.tex
doc/stdlib/html/
doc/stdlib/index-body.html
doc/stdlib/index-list.html
diff --git a/Makefile.doc b/Makefile.doc
index 59eb2fe8b..a8356f469 100644
--- a/Makefile.doc
+++ b/Makefile.doc
@@ -255,12 +255,12 @@ ifdef QUICK
doc/stdlib/FullLibrary.coqdoc.tex:
$(COQDOC) -q -boot --gallina --body-only --latex --stdout --utf8 \
-R theories Coq $(THEORIESVO:.vo=.v) > $@
- sed -i "" -e 's///g' $@
+ sed -i.tmp -e 's///g' $@ && rm $@.tmp
else
doc/stdlib/FullLibrary.coqdoc.tex: $(COQDOC) $(THEORIESVO)
$(COQDOC) -q -boot --gallina --body-only --latex --stdout --utf8 \
-R theories Coq $(THEORIESVO:.vo=.v) > $@
- sed -i "" -e 's///g' $@
+ sed -i.tmp -e 's///g' $@ && rm $@.tmp
endif
doc/stdlib/FullLibrary.dvi: $(DOCCOMMON) doc/stdlib/FullLibrary.coqdoc.tex doc/stdlib/FullLibrary.tex