Whamcloud - gitweb
LUDOC-211 Makefile: Added Makefile support for SLED 11 SP2 93/8493/3
authorRyan Haasken <haasken@cray.com>
Thu, 5 Dec 2013 21:01:51 +0000 (15:01 -0600)
committerRichard Henwood <richard.henwood@intel.com>
Mon, 16 Dec 2013 15:08:16 +0000 (15:08 +0000)
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 <haasken@cray.com>
Change-Id: I82f0407ea98904c2060090d3d205a36f16d2b153
Reviewed-on: http://review.whamcloud.com/8493
Tested-by: Jenkins
Reviewed-by: Ann Koehler <amk@cray.com>
Reviewed-by: Patrick Farrell <paf@cray.com>
Reviewed-by: Chris Horn <hornc@cray.com>
Reviewed-by: Richard Henwood <richard.henwood@intel.com>
Makefile

index b829e94..4bd139b 100644 (file)
--- 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