aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVincent Laporte2019-04-29 12:38:51 +0000
committerVincent Laporte2019-04-29 12:38:51 +0000
commitf08dacb28213f7da273d6594b317848dd5d776a8 (patch)
tree5f92e422f5554eee56c916d72d71c7ceef6a495a
parent530d72a251038f31e5dfe9d3b982ca744df01e59 (diff)
parentfb400d6081f67b628d7627bc85e460d779e72dcd (diff)
Merge PR #10007: Amending sphinx-on-windows fix in #9819 so that it does not trigger a warning on MacOS X (and other BSD systems).
Ack-by: SkySkimmer Ack-by: herbelin Reviewed-by: vbgl
-rw-r--r--Makefile.doc4
1 files changed, 2 insertions, 2 deletions
diff --git a/Makefile.doc b/Makefile.doc
index e89a20393c..23aa66a1b8 100644
--- a/Makefile.doc
+++ b/Makefile.doc
@@ -31,8 +31,8 @@ DVIPS:=dvips
HTMLSTYLE:=coqremote
# Sphinx-related variables
-OSNAME:=$(shell uname -o)
-ifeq ($(OSNAME),Cygwin)
+OSNAME:=$(shell uname -s)
+ifeq ($(findstring CYGWIN,$(OSNAME)),CYGWIN)
WIN_CURDIR:=$(shell cygpath -w $(CURDIR))
SPHINXENV:=COQBIN="$(CURDIR)/bin/" COQLIB="$(WIN_CURDIR)"
else