From ed25f3a43848bad05b36dbf5d0ab379b96cb68d9 Mon Sep 17 00:00:00 2001 From: Ryan Haasken Date: Thu, 5 Dec 2013 15:01:51 -0600 Subject: [PATCH] LUDOC-211 Makefile: Added Makefile support for SLED 11 SP2 Added a variable XSL_SLE to the makefile which points at the location of the docbook.xsl files in SLE distributions. Added the check on whether that directory exists in the XSL variable assignment. Tested that "make html" works on a SLED 11 SP2 machine. Signed-off-by: Ryan Haasken Change-Id: I82f0407ea98904c2060090d3d205a36f16d2b153 Reviewed-on: http://review.whamcloud.com/8493 Tested-by: Jenkins Reviewed-by: Ann Koehler Reviewed-by: Patrick Farrell Reviewed-by: Chris Horn Reviewed-by: Richard Henwood --- Makefile | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Makefile b/Makefile index b829e94..4bd139b 100644 --- a/Makefile +++ b/Makefile @@ -21,10 +21,12 @@ RNG=$(or $(shell ls $(RNG_UBN) 2> /dev/null), \ XSL_UBN=/usr/share/xml/docbook/stylesheet/docbook-xsl-ns XSL_REL=/usr/share/sgml/docbook/xsl-ns-stylesheets-1.75.2 XSL_F16=/usr/share/sgml/docbook/xsl-ns-stylesheets +XSL_SLE=/usr/share/xml/docbook/stylesheet/nwalsh5/current XSL_MAC=/opt/local/share/xsl/docbook-xsl XSL=$(or $(shell ls -d $(XSL_UBN) 2> /dev/null), \ $(shell ls -d $(XSL_REL) 2> /dev/null), \ $(shell ls -d $(XSL_F16) 2> /dev/null), \ + $(shell ls -d $(XSL_SLE) 2> /dev/null), \ $(shell ls -d $(XSL_MAC) 2> /dev/null)) PRIMARYXSL=$(XSL)/$(subst $(TGT_BASE).,,$@)/docbook.xsl PRIMARYCHUNKXSL=$(XSL)/html/chunkfast.xsl -- 1.8.3.1