1
0
Fork 0
mirror of https://gitlab.alpinelinux.org/alpine/aports.git synced 2025-07-25 12:15:32 +03:00
aports/community/moreutils/docbook-xsl.patch
Leo eef2fb960c community/moreutils: harden setting DOCBOOKXSL a bit
In the future we should remove the patch entirely.
2019-11-22 20:45:41 +01:00

17 lines
467 B
Diff

diff --git a/Makefile b/Makefile
index 1e92f61..2df0af9 100644
--- a/Makefile
+++ b/Makefile
@@ -5,12 +5,6 @@ CFLAGS?=-O2 -g -Wall
INSTALL_BIN?=install -s
PREFIX?=/usr
-ifneq (,$(findstring CYGWIN,$(shell uname)))
- 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
all: $(BINS) $(MANS)