aboutsummaryrefslogtreecommitdiffhomepage
path: root/Makefile.doc
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile.doc')
-rw-r--r--Makefile.doc4
1 files changed, 2 insertions, 2 deletions
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