summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorStalkR <stalkr@stalkr.net>2016-07-15 10:48:35 +0200
committerJoey Hess <joeyh@joeyh.name>2016-07-15 16:19:04 -0400
commitdee9b5042951795cd7abc415f1c4f4becc6363d3 (patch)
tree4f754137f87d9f22e86c2c8c97b6f5b86b5607c7 /Makefile
parentf891e8d7aafa336b89d0252e31bf52e1510de6b8 (diff)
downloadmoreutils-dee9b5042951795cd7abc415f1c4f4becc6363d3.tar.gz
cygwin support
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile7
1 files changed, 6 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 54b71ee..6aa0dde 100644
--- a/Makefile
+++ b/Makefile
@@ -4,7 +4,12 @@ MANS=sponge.1 vidir.1 vipe.1 isutf8.1 ts.1 combine.1 ifdata.1 ifne.1 pee.1 zrun.
CFLAGS?=-O2 -g -Wall
INSTALL_BIN?=install -s
PREFIX?=/usr
-DOCBOOKXSL?=/usr/share/xml/docbook/stylesheet/docbook-xsl
+
+ifeq ($(shell uname -o),Cygwin)
+ DOCBOOKXSL?=/usr/share/sgml/docbook/xsl-stylesheets
+else
+ DOCBOOKXSL?=/usr/share/xml/docbook/stylesheet/docbook-xsl
+endif
DOCBOOK2XMAN=xsltproc --param man.authors.section.enabled 0 $(DOCBOOKXSL)/manpages/docbook.xsl