[LUDOC-353] Add brew package path support in lustre-manual Makefile Created: 26/Aug/16  Updated: 08/Sep/16  Resolved: 08/Sep/16

Status: Resolved
Project: Lustre Documentation
Component/s: None
Affects Version/s: None
Fix Version/s: None

Type: Improvement Priority: Minor
Reporter: Zhenyu Xu Assignee: Brad Hoagland (Inactive)
Resolution: Fixed Votes: 0
Labels: None

Rank (Obsolete): 9223372036854775807

 Description   

Brew install it's docbook packages under /usr/local/opt/ directory, and make fails with following error:

$ make
rm -f lustre_manual.html lustre_manual.xhtml lustre_manual.pdf\
		mastermanual.revision mastermanual.index mimetype\
		lustre_manual.diff.html lustre_manual.epub lustre_manual.fo
rm -rf ./META-INF ./OEBPS ./lustre_manual
xmllint --noout --xinclude --noent --relaxng /usr/local/Cellar/docbook/5.0/docbook/xml/5.0/rng/docbookxi.rng ./index.xml
./index.xml validates
sed -e 's;PRIMARYXSL;/xhtml/docbook.xsl;' ./style/customstyle.xsl | \
	xsltproc --xinclude -o lustre_manual.xhtml - ./index.xml
warning: failed to load external entity "/xhtml/docbook.xsl"
compilation error: file - line 6 element import
xsl:import : unable to load /xhtml/docbook.xsl
make: *** [lustre_manual.xhtml] Error 5


 Comments   
Comment by Gerrit Updater [ 26/Aug/16 ]

Bobi Jam (bobijam@hotmail.com) uploaded a new patch: http://review.whamcloud.com/22149
Subject: LUDOC-353 Makefile: Added Makefile support for Mac Brew packages
Project: doc/manual
Branch: master
Current Patch Set: 1
Commit: cda3af1aa50fcdc8161d484c6061fef4cba8452d

Comment by Zhenyu Xu [ 26/Aug/16 ]

Also I've updated wiki page about the brew packages needed (https://wiki.hpdd.intel.com/display/PUB/Making+changes+to+the+Lustre+Manual+source#MakingchangestotheLustreManualsource-MacOSX).

Comment by Gerrit Updater [ 29/Aug/16 ]

Andreas Dilger (andreas.dilger@intel.com) merged in patch http://review.whamcloud.com/22149/
Subject: LUDOC-353 Makefile: Added Makefile support for Mac Brew packages
Project: doc/manual
Branch: master
Current Patch Set:
Commit: a101801ae209245afff037b6b29d2bce1cd12666

Comment by Andreas Dilger [ 08/Sep/16 ]

Patch landed to manual.

Generated at Sat Feb 10 03:42:15 UTC 2024 using Jira 9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c.