"Fossies" - the Fresh Open Source Software Archive

Member "wayland-1.18.0/doc/publican/sources/meson.build" (11 Feb 2020, 2698 Bytes) of package /linux/misc/wayland-1.18.0.tar.xz:


As a special service "Fossies" has tried to format the requested text file into HTML format (style: standard) with prefixed line numbers. Alternatively you can here view or download the uninterpreted source code file.

    1 ProtocolSpec_xml = custom_target(
    2 	'ProtocolSpec.xml',
    3 	command: [ xsltproc, '-o', '@OUTPUT@', files('../protocol-to-docbook.xsl'), '@INPUT@' ],
    4 	input: wayland_protocol_xml,
    5 	output: 'ProtocolSpec.xml'
    6 )
    7 
    8 ProtocolInterfaces_xml = custom_target(
    9 	'ProtocolInterfaces.xml',
   10 	command: [ xsltproc, '-o', '@OUTPUT@', files('../protocol-interfaces-to-docbook.xsl'), '@INPUT@' ],
   11 	input: wayland_protocol_xml,
   12 	output: 'ProtocolInterfaces.xml'
   13 )
   14 
   15 ClientAPI_combined = custom_target(
   16 	'ClientAPI-combined',
   17 	command: [ xsltproc, '-o', '@OUTPUT@', '@INPUT@' ],
   18 	input: [ doxygen_Client_combine_xslt, doxygen_Client_index_xml ],
   19 	output: 'ClientAPI-combined.xml'
   20 )
   21 
   22 to_publican_xsl = files('../doxygen-to-publican.xsl')
   23 
   24 ClientAPI_xml = custom_target(
   25 	'ClientAPI.xml',
   26 	command: [ xsltproc, '-o', '@OUTPUT@', '--stringparam', 'which', 'Client', to_publican_xsl, '@INPUT@' ],
   27 	input: ClientAPI_combined,
   28 	output: 'ClientAPI.xml'
   29 )
   30 
   31 ServerAPI_combined = custom_target(
   32 	'ServerAPI-combined',
   33 	command: [ xsltproc, '-o', '@OUTPUT@', '@INPUT@' ],
   34 	input: [ doxygen_Server_combine_xslt, doxygen_Server_index_xml ],
   35 	output: 'ServerAPI-combined.xml'
   36 )
   37 
   38 ServerAPI_xml = custom_target(
   39 	'ServerAPI.xml',
   40 	command: [ xsltproc, '-o', '@OUTPUT@', '--stringparam', 'which', 'Server', to_publican_xsl, '@INPUT@' ],
   41 	input: ServerAPI_combined,
   42 	output: 'ServerAPI.xml'
   43 )
   44 
   45 
   46 publican_sources = [
   47 	'Wayland.ent',
   48 	# 'Wayland.xml', # handled specially
   49 	'Book_Info.xml',
   50 	'Author_Group.xml',
   51 	'Foreword.xml',
   52 	'Preface.xml',
   53 	'Revision_History.xml',
   54 	'Protocol.xml',
   55 	'Xwayland.xml',
   56 	'Compositors.xml',
   57 	'Client.xml',
   58 	'Server.xml'
   59 ]
   60 
   61 publican_processed_main = configure_file(
   62 	input: 'Wayland.xml',
   63 	output: 'Wayland.xml',
   64 	copy: true
   65 )
   66 
   67 publican_copied_sources = []
   68 foreach src: publican_sources
   69 	publican_copied_sources += configure_file(
   70 		input: src,
   71 		output: src,
   72 		copy: true
   73 	)
   74 endforeach
   75 
   76 publican_processed_sources = [
   77 	'Architecture.xml',
   78 	'Introduction.xml'
   79 ]
   80 
   81 publican_processed_targets = []
   82 foreach src: publican_processed_sources
   83 	publican_processed_targets += custom_target(
   84 		src,
   85 		command: [ xsltproc, '-o', '@OUTPUT@', '--stringparam', 'basedir', '.', merge_mapcoords_xsl, '@INPUT@' ],
   86 		input: src,
   87 		output: src
   88 	)
   89 endforeach
   90 
   91 publican_css_sources = files([
   92 	'css/brand.css',
   93 	'css/common.css',
   94 	'css/default.css',
   95 	'css/epub.css',
   96 	'css/print.css'
   97 ])
   98 
   99 install_data(
  100 	publican_css_sources,
  101 	install_dir: join_paths(publican_install_prefix, publican_html_dir, 'css')
  102 )
  103 
  104 publican_img_sources = files([
  105 	'images/icon.svg',
  106 	'images/wayland.png',
  107 	'images/xwayland-architecture.png'
  108 ])
  109 
  110 install_data(
  111 	publican_img_sources,
  112 	install_dir: join_paths(publican_install_prefix, publican_html_dir, 'images')
  113 )