doc/reference/protocols/facebook/meson.build

Wed, 17 Aug 2022 04:09:59 -0500

author
Gary Kramlich <grim@reaperworld.com>
date
Wed, 17 Aug 2022 04:09:59 -0500
changeset 41504
70d9d0552b04
parent 41468
ff4332b17f80
permissions
-rw-r--r--

Remove the old nsis scripts.

We know we're not going to be using NSIS in the future so there's no reason to
keep this stuff around.

Testing Done:
ran meson to make sure nothing was referencing it.

Reviewed at https://reviews.imfreedom.org/r/1604/

facebook_doc_content_files = []

if get_option('doc')
	facebook_toml = configure_file(
		input : 'facebook.toml.in',
		output : 'facebook.toml',
		configuration : version_conf,
		install : true,
		install_dir : docs_dir / 'facebook',
	)

	facebook_doc = custom_target('facebook-doc',
		input : [ facebook_toml, facebook_gir[0] ],
		output : 'facebook',
		command : [
			gidocgen,
			'generate',
			'--quiet',
			'--fatal-warnings',
			'--config=@INPUT0@',
			'--output-dir=@OUTPUT@',
			'--no-namespace-dir',
			'--content-dir=@0@'.format(meson.current_source_dir()),
			'--add-include-path=@0@'.format(meson.global_build_root() / 'subprojects/gplugin/gplugin'),
			'--add-include-path=@0@'.format(meson.global_build_root() / 'libpurple'),
			'@INPUT1@'
		],
		depends: [ libpurple_gir[0] ],
		depend_files : [ facebook_doc_content_files ],
		build_by_default : true,
		install : true,
		install_dir : docs_dir,
	)
endif

mercurial