From 6be8dddd806c3515467526ea0e964ca4fee188ad Mon Sep 17 00:00:00 2001 From: Yves Bertot Date: Fri, 22 Nov 2019 10:36:56 +0100 Subject: Have to change directory before checking for the dependency file --- mathcomp/Makefile.common | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'mathcomp/Makefile.common') diff --git a/mathcomp/Makefile.common b/mathcomp/Makefile.common index 39c9afa..04c3adc 100644 --- a/mathcomp/Makefile.common +++ b/mathcomp/Makefile.common @@ -136,7 +136,7 @@ doc: __always__ Makefile.coq . ../etc/utils/builddoc_lib.sh; \ cd _build_doc && mangle_sources $(COQFILES) +cd _build_doc && $(COQMAKE) - [ ! -f .Makefile.coq.d ] || cp .coqdeps.d .Makefile.coq.d #can be removed when coq-8.10 compatibility is dropped + cd _build_doc && if [ ! -f .Makefile.coq.d ] ; then cp .coqdeps.d .Makefile.coq.d ; fi #can be removed when coq-8.10 compatibility is dropped cd _build_doc && grep -v vio: .Makefile.coq.d > depend cd _build_doc && cat depend | ../../etc/buildlibgraph $(COQFILES) > htmldoc/depend.js cd _build_doc && $(COQBIN)coqdoc -t "Mathematical Components" \ -- cgit v1.2.3