Makefile.am revision 30f8ce46
130f8ce46Smrg# 230f8ce46Smrg# Copyright (c) 2010, Oracle and/or its affiliates. All rights reserved. 330f8ce46Smrg# 430f8ce46Smrg# Permission is hereby granted, free of charge, to any person obtaining a 530f8ce46Smrg# copy of this software and associated documentation files (the "Software"), 630f8ce46Smrg# to deal in the Software without restriction, including without limitation 730f8ce46Smrg# the rights to use, copy, modify, merge, publish, distribute, sublicense, 830f8ce46Smrg# and/or sell copies of the Software, and to permit persons to whom the 930f8ce46Smrg# Software is furnished to do so, subject to the following conditions: 1030f8ce46Smrg# 1130f8ce46Smrg# The above copyright notice and this permission notice (including the next 1230f8ce46Smrg# paragraph) shall be included in all copies or substantial portions of the 1330f8ce46Smrg# Software. 1430f8ce46Smrg# 1530f8ce46Smrg# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 1630f8ce46Smrg# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 1730f8ce46Smrg# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL 1830f8ce46Smrg# THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 1930f8ce46Smrg# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING 2030f8ce46Smrg# FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER 2130f8ce46Smrg# DEALINGS IN THE SOFTWARE. 2230f8ce46Smrg# 2330f8ce46Smrg 2430f8ce46Smrg# Developer documentation - not installed on system 2530f8ce46SmrgEXTRA_DIST = xfs-design.xml 2630f8ce46Smrg 2730f8ce46Smrgif ENABLE_DEVEL_DOCS 2830f8ce46Smrgdoc_sources = xfs-design.xml 2930f8ce46Smrg 3030f8ce46Smrgif HAVE_XMLTO 3130f8ce46Smrgnoinst_DATA = $(doc_sources:.xml=.html) 3230f8ce46Smrg 3330f8ce46Smrgif HAVE_FOP 3430f8ce46Smrgnoinst_DATA += $(doc_sources:.xml=.ps) $(doc_sources:.xml=.pdf) 3530f8ce46Smrgendif 3630f8ce46Smrg 3730f8ce46Smrgif HAVE_XMLTO_TEXT 3830f8ce46Smrgnoinst_DATA += $(doc_sources:.xml=.txt) 3930f8ce46Smrgendif 4030f8ce46Smrg 4130f8ce46Smrgif HAVE_STYLESHEETS 4230f8ce46SmrgXMLTO_FLAGS = -m $(XSL_STYLESHEET) 4330f8ce46Smrg 4430f8ce46Smrgnoinst_DATA += xorg.css 4530f8ce46Smrgxorg.css: $(STYLESHEET_SRCDIR)/xorg.css 4630f8ce46Smrg $(AM_V_GEN)cp -pf $(STYLESHEET_SRCDIR)/xorg.css $@ 4730f8ce46Smrgendif 4830f8ce46Smrg 4930f8ce46SmrgCLEANFILES = $(noinst_DATA) 5030f8ce46Smrg 5130f8ce46SmrgSUFFIXES = .xml .ps .pdf .txt .html 5230f8ce46Smrg 5330f8ce46Smrg.xml.txt: 5430f8ce46Smrg $(AM_V_GEN)$(XMLTO) $(XMLTO_FLAGS) txt $< 5530f8ce46Smrg 5630f8ce46Smrg.xml.html: 5730f8ce46Smrg $(AM_V_GEN)$(XMLTO) $(XMLTO_FLAGS) xhtml-nochunks $< 5830f8ce46Smrg 5930f8ce46Smrg.xml.pdf: 6030f8ce46Smrg $(AM_V_GEN)$(XMLTO) $(XMLTO_FLAGS) --with-fop pdf $< 6130f8ce46Smrg 6230f8ce46Smrg.xml.ps: 6330f8ce46Smrg $(AM_V_GEN)$(XMLTO) $(XMLTO_FLAGS) --with-fop ps $< 6430f8ce46Smrg 6530f8ce46Smrgendif HAVE_XMLTO 6630f8ce46Smrgendif ENABLE_DEVEL_DOCS 67