From 2d427c09cff6e7666e07c301c4b46c6206362a36 Mon Sep 17 00:00:00 2001 From: Tony Kelman Date: Tue, 9 Aug 2016 20:23:52 -0700 Subject: Modify Cygwin check to use findstring instead of uname -o Since Darwin's uname complains about 'illegal option -- o' --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index 81544ac..2241fd7 100644 --- a/Makefile +++ b/Makefile @@ -5,7 +5,7 @@ CFLAGS?=-O2 -g -Wall INSTALL_BIN?=install -s PREFIX?=/usr -ifeq ($(shell uname -o),Cygwin) +ifneq (,$(findstring CYGWIN,$(shell uname))) DOCBOOKXSL?=/usr/share/sgml/docbook/xsl-stylesheets else DOCBOOKXSL?=/usr/share/xml/docbook/stylesheet/docbook-xsl -- cgit v1.2.1