diff options
| author | Přemysl Eric Janouch <p@janouch.name> | 2022-01-24 08:41:05 +0100 | 
|---|---|---|
| committer | Přemysl Eric Janouch <p@janouch.name> | 2022-01-25 05:54:00 +0100 | 
| commit | ee71fb0dd0cd3e8d1cfdd2eae9b4b4e741e51d6a (patch) | |
| tree | 9b74e948237f734d4c03febeb537d8e3c4075ce1 /meson.build | |
| parent | 381e5f57c76d978994b6cdeecc8f9a19717ed12b (diff) | |
| download | fiv-ee71fb0dd0cd3e8d1cfdd2eae9b4b4e741e51d6a.tar.gz fiv-ee71fb0dd0cd3e8d1cfdd2eae9b4b4e741e51d6a.tar.xz fiv-ee71fb0dd0cd3e8d1cfdd2eae9b4b4e741e51d6a.zip  | |
Start a basic user guide
Move some information out there from the README.
Diffstat (limited to 'meson.build')
| -rw-r--r-- | meson.build | 13 | 
1 files changed, 9 insertions, 4 deletions
diff --git a/meson.build b/meson.build index 6b92b6f..9ef54de 100644 --- a/meson.build +++ b/meson.build @@ -73,9 +73,13 @@ if not get_option('resvg').disabled()  	endif  endif +# XXX: https://github.com/mesonbuild/meson/issues/825 +docdir = get_option('datadir') / 'doc' / meson.project_name() +  conf = configuration_data()  conf.set_quoted('PROJECT_NAME', meson.project_name())  conf.set_quoted('PROJECT_VERSION', meson.project_version()) +conf.set_quoted('PROJECT_DOCDIR', get_option('prefix') / docdir)  conf.set('HAVE_JPEG_QS', libjpegqs.found())  conf.set('HAVE_LCMS2', lcms2.found())  conf.set('HAVE_LIBRAW', libraw.found()) @@ -111,7 +115,7 @@ endif  # XXX: With gdk-pixbuf, this even depends on currently installed modules.  if meson.is_cross_build()  	install_data('fiv.desktop', -		install_dir : get_option('datadir') + '/applications') +		install_dir : get_option('datadir') / 'applications')  else  	# XXX: The exe path may not contain spaces--quoting is a bitch in Meson.  	desktop = custom_target('desktop', @@ -122,11 +126,12 @@ else  				$0 = $0 type ";" } 1' "exe=$1" "$2"''', 'sh', exe, '@INPUT@'],  		capture : true,  		install : true, -		install_dir : get_option('datadir') + '/applications', +		install_dir : get_option('datadir') / 'applications',  	)  endif  install_data('fiv-browse.desktop', -	install_dir : get_option('datadir') + '/applications') +	install_dir : get_option('datadir') / 'applications')  install_data('fiv.svg', -	install_dir : get_option('datadir') + '/icons/hicolor/scalable/apps') +	install_dir : get_option('datadir') / 'icons/hicolor/scalable/apps') +install_subdir('docs', install_dir : docdir, strip_directory : true)  | 
