meson: Install the camlibs documentation
Do as in autotools and install the camlib README files. Also add the install_tag to all installation targets to allow automatic packaging.
This commit is contained in:
@@ -8,4 +8,10 @@ shared_module(
|
||||
name_prefix: '',
|
||||
install: true,
|
||||
install_dir: camlibs_dir,
|
||||
)
|
||||
|
||||
install_data(
|
||||
'README.adc65',
|
||||
install_dir: camlibdoc_dir,
|
||||
install_tag: 'doc',
|
||||
)
|
||||
@@ -8,4 +8,10 @@ shared_module(
|
||||
name_prefix: '',
|
||||
install: true,
|
||||
install_dir: camlibs_dir,
|
||||
)
|
||||
|
||||
install_data(
|
||||
'README.agfa-cl20',
|
||||
install_dir: camlibdoc_dir,
|
||||
install_tag: 'doc',
|
||||
)
|
||||
@@ -9,4 +9,10 @@ shared_module(
|
||||
name_prefix: '',
|
||||
install: true,
|
||||
install_dir: camlibs_dir,
|
||||
)
|
||||
|
||||
install_data(
|
||||
'README.aox',
|
||||
install_dir: camlibdoc_dir,
|
||||
install_tag: 'doc',
|
||||
)
|
||||
@@ -20,4 +20,11 @@ shared_module(
|
||||
name_prefix: '',
|
||||
install: true,
|
||||
install_dir: camlibs_dir,
|
||||
)
|
||||
|
||||
install_data(
|
||||
'README.ax203',
|
||||
'README.ax203-compression',
|
||||
install_dir: camlibdoc_dir,
|
||||
install_tag: 'doc',
|
||||
)
|
||||
@@ -18,4 +18,10 @@ shared_module(
|
||||
name_prefix: '',
|
||||
install: true,
|
||||
install_dir: camlibs_dir,
|
||||
)
|
||||
|
||||
install_data(
|
||||
'README.canon',
|
||||
install_dir: camlibdoc_dir,
|
||||
install_tag: 'doc',
|
||||
)
|
||||
@@ -11,4 +11,10 @@ shared_module(
|
||||
name_prefix: '',
|
||||
install: true,
|
||||
install_dir: camlibs_dir,
|
||||
)
|
||||
|
||||
install_data(
|
||||
'README.clicksmart310',
|
||||
install_dir: camlibdoc_dir,
|
||||
install_tag: 'doc',
|
||||
)
|
||||
@@ -11,4 +11,14 @@ shared_module(
|
||||
name_prefix: '',
|
||||
install: true,
|
||||
install_dir: camlibs_dir,
|
||||
)
|
||||
|
||||
install_data(
|
||||
'README.9050',
|
||||
'README.9051',
|
||||
'README.9052',
|
||||
'README.905C',
|
||||
'README.913D',
|
||||
install_dir: camlibdoc_dir,
|
||||
install_tag: 'doc',
|
||||
)
|
||||
@@ -7,4 +7,10 @@ shared_module(
|
||||
name_prefix: '',
|
||||
install: true,
|
||||
install_dir: camlibs_dir,
|
||||
)
|
||||
|
||||
install_data(
|
||||
'README.enigma13',
|
||||
install_dir: camlibdoc_dir,
|
||||
install_tag: 'doc',
|
||||
)
|
||||
@@ -11,4 +11,10 @@ shared_module(
|
||||
name_prefix: '',
|
||||
install: true,
|
||||
install_dir: camlibs_dir,
|
||||
)
|
||||
|
||||
install_data(
|
||||
'README.gsmart300',
|
||||
install_dir: camlibdoc_dir,
|
||||
install_tag: 'doc',
|
||||
)
|
||||
@@ -9,4 +9,10 @@ shared_module(
|
||||
name_prefix: '',
|
||||
install: true,
|
||||
install_dir: camlibs_dir,
|
||||
)
|
||||
|
||||
install_data(
|
||||
'README.iclick',
|
||||
install_dir: camlibdoc_dir,
|
||||
install_tag: 'doc',
|
||||
)
|
||||
@@ -9,4 +9,10 @@ shared_module(
|
||||
name_prefix: '',
|
||||
install: true,
|
||||
install_dir: camlibs_dir,
|
||||
)
|
||||
|
||||
install_data(
|
||||
'README.jamcam',
|
||||
install_dir: camlibdoc_dir,
|
||||
install_tag: 'doc',
|
||||
)
|
||||
@@ -10,4 +10,10 @@ shared_module(
|
||||
name_prefix: '',
|
||||
install: true,
|
||||
install_dir: camlibs_dir,
|
||||
)
|
||||
|
||||
install_data(
|
||||
'README.jl2005a',
|
||||
install_dir: camlibdoc_dir,
|
||||
install_tag: 'doc',
|
||||
)
|
||||
@@ -16,4 +16,11 @@ shared_module(
|
||||
name_prefix: '',
|
||||
install: true,
|
||||
install_dir: camlibs_dir,
|
||||
)
|
||||
|
||||
install_data(
|
||||
'README.jl2005c',
|
||||
'README.jl2005bcd-compression',
|
||||
install_dir: camlibdoc_dir,
|
||||
install_tag: 'doc',
|
||||
)
|
||||
@@ -10,6 +10,7 @@ install_data(
|
||||
'localization/spanish',
|
||||
),
|
||||
install_dir: konica_localization_dir,
|
||||
install_tag: 'i18n',
|
||||
)
|
||||
|
||||
shared_module(
|
||||
@@ -42,4 +43,10 @@ shared_module(
|
||||
name_prefix: '',
|
||||
install: true,
|
||||
install_dir: camlibs_dir,
|
||||
)
|
||||
|
||||
install_data(
|
||||
'README.konica',
|
||||
install_dir: camlibdoc_dir,
|
||||
install_tag: 'doc',
|
||||
)
|
||||
@@ -11,4 +11,10 @@ shared_module(
|
||||
name_prefix: '',
|
||||
install: true,
|
||||
install_dir: camlibs_dir,
|
||||
)
|
||||
|
||||
install_data(
|
||||
'README.largan-lmini',
|
||||
install_dir: camlibdoc_dir,
|
||||
install_tag: 'doc',
|
||||
)
|
||||
@@ -10,4 +10,10 @@ shared_module(
|
||||
name_prefix: '',
|
||||
install: true,
|
||||
install_dir: camlibs_dir,
|
||||
)
|
||||
|
||||
install_data(
|
||||
'README.lg_gsm',
|
||||
install_dir: camlibdoc_dir,
|
||||
install_tag: 'doc',
|
||||
)
|
||||
@@ -9,4 +9,10 @@ shared_module(
|
||||
name_prefix: '',
|
||||
install: true,
|
||||
install_dir: camlibs_dir,
|
||||
)
|
||||
|
||||
install_data(
|
||||
'README.lumix',
|
||||
install_dir: camlibdoc_dir,
|
||||
install_tag: 'doc',
|
||||
)
|
||||
@@ -10,4 +10,10 @@ shared_module(
|
||||
name_prefix: '',
|
||||
install: true,
|
||||
install_dir: camlibs_dir,
|
||||
)
|
||||
|
||||
install_data(
|
||||
'README.mars',
|
||||
install_dir: camlibdoc_dir,
|
||||
install_tag: 'doc',
|
||||
)
|
||||
@@ -17,4 +17,10 @@ shared_module(
|
||||
name_prefix: '',
|
||||
install: true,
|
||||
install_dir: camlibs_dir,
|
||||
)
|
||||
|
||||
install_data(
|
||||
'README.minolta-dimagev',
|
||||
install_dir: camlibdoc_dir,
|
||||
install_tag: 'doc',
|
||||
)
|
||||
@@ -19,4 +19,10 @@ shared_module(
|
||||
name_prefix: '',
|
||||
install: true,
|
||||
install_dir: camlibs_dir,
|
||||
)
|
||||
|
||||
install_data(
|
||||
'README.mustek',
|
||||
install_dir: camlibdoc_dir,
|
||||
install_tag: 'doc',
|
||||
)
|
||||
@@ -9,4 +9,10 @@ shared_module(
|
||||
name_prefix: '',
|
||||
install: true,
|
||||
install_dir: camlibs_dir,
|
||||
)
|
||||
|
||||
install_data(
|
||||
'README.panasonic-coolshot',
|
||||
install_dir: camlibdoc_dir,
|
||||
install_tag: 'doc',
|
||||
)
|
||||
@@ -8,4 +8,10 @@ shared_module(
|
||||
name_prefix: '',
|
||||
install: true,
|
||||
install_dir: camlibs_dir,
|
||||
)
|
||||
|
||||
install_data(
|
||||
'README.panasonic-l859',
|
||||
install_dir: camlibdoc_dir,
|
||||
install_tag: 'doc',
|
||||
)
|
||||
@@ -27,5 +27,11 @@ shared_module(
|
||||
install_dir: camlibs_dir,
|
||||
)
|
||||
|
||||
install_data(
|
||||
'README.panasonic',
|
||||
install_dir: camlibdoc_dir,
|
||||
install_tag: 'doc',
|
||||
)
|
||||
|
||||
subdir('coolshot')
|
||||
subdir('l859')
|
||||
@@ -9,4 +9,10 @@ shared_module(
|
||||
name_prefix: '',
|
||||
install: true,
|
||||
install_dir: camlibs_dir,
|
||||
)
|
||||
|
||||
install_data(
|
||||
'README.pccam300',
|
||||
install_dir: camlibdoc_dir,
|
||||
install_tag: 'doc',
|
||||
)
|
||||
@@ -9,4 +9,10 @@ shared_module(
|
||||
name_prefix: '',
|
||||
install: true,
|
||||
install_dir: camlibs_dir,
|
||||
)
|
||||
|
||||
install_data(
|
||||
'README.pccam600',
|
||||
install_dir: camlibdoc_dir,
|
||||
install_tag: 'doc',
|
||||
)
|
||||
@@ -28,4 +28,10 @@ shared_module(
|
||||
name_prefix: '',
|
||||
install: true,
|
||||
install_dir: camlibs_dir,
|
||||
)
|
||||
|
||||
install_data(
|
||||
'README.pentax',
|
||||
install_dir: camlibdoc_dir,
|
||||
install_tag: 'doc',
|
||||
)
|
||||
@@ -27,4 +27,10 @@ shared_module(
|
||||
name_prefix: '',
|
||||
install: true,
|
||||
install_dir: camlibs_dir,
|
||||
)
|
||||
|
||||
install_data(
|
||||
'README.ptp2',
|
||||
install_dir: camlibdoc_dir,
|
||||
install_tag: 'doc',
|
||||
)
|
||||
@@ -11,4 +11,10 @@ shared_module(
|
||||
name_prefix: '',
|
||||
install: true,
|
||||
install_dir: camlibs_dir,
|
||||
)
|
||||
|
||||
install_data(
|
||||
'README.smal',
|
||||
install_dir: camlibdoc_dir,
|
||||
install_tag: 'doc',
|
||||
)
|
||||
@@ -10,4 +10,10 @@ shared_module(
|
||||
name_prefix: '',
|
||||
install: true,
|
||||
install_dir: camlibs_dir,
|
||||
)
|
||||
|
||||
install_data(
|
||||
'README.sonix',
|
||||
install_dir: camlibdoc_dir,
|
||||
install_tag: 'doc',
|
||||
)
|
||||
@@ -10,4 +10,10 @@ shared_module(
|
||||
name_prefix: '',
|
||||
install: true,
|
||||
install_dir: camlibs_dir,
|
||||
)
|
||||
|
||||
install_data(
|
||||
'README.sonydscf1',
|
||||
install_dir: camlibdoc_dir,
|
||||
install_tag: 'doc',
|
||||
)
|
||||
@@ -12,4 +12,10 @@ shared_module(
|
||||
name_prefix: '',
|
||||
install: true,
|
||||
install_dir: camlibs_dir,
|
||||
)
|
||||
|
||||
install_data(
|
||||
'README.soundvision',
|
||||
install_dir: camlibdoc_dir,
|
||||
install_tag: 'doc',
|
||||
)
|
||||
@@ -16,4 +16,10 @@ shared_module(
|
||||
name_prefix: '',
|
||||
install: true,
|
||||
install_dir: camlibs_dir,
|
||||
)
|
||||
|
||||
install_data(
|
||||
'README.spca50x',
|
||||
install_dir: camlibdoc_dir,
|
||||
install_tag: 'doc',
|
||||
)
|
||||
@@ -10,4 +10,11 @@ shared_module(
|
||||
name_prefix: '',
|
||||
install: true,
|
||||
install_dir: camlibs_dir,
|
||||
)
|
||||
|
||||
install_data(
|
||||
'README.913C',
|
||||
'README.sq905',
|
||||
install_dir: camlibdoc_dir,
|
||||
install_tag: 'doc',
|
||||
)
|
||||
@@ -12,4 +12,11 @@ shared_module(
|
||||
name_prefix: '',
|
||||
install: true,
|
||||
install_dir: camlibs_dir,
|
||||
)
|
||||
|
||||
install_data(
|
||||
'README.st2205',
|
||||
'README.st2205-compression',
|
||||
install_dir: camlibdoc_dir,
|
||||
install_tag: 'doc',
|
||||
)
|
||||
@@ -9,4 +9,10 @@ shared_module(
|
||||
name_prefix: '',
|
||||
install: true,
|
||||
install_dir: camlibs_dir,
|
||||
)
|
||||
|
||||
install_data(
|
||||
'README.toshiba-pdrm11',
|
||||
install_dir: camlibdoc_dir,
|
||||
install_tag: 'doc',
|
||||
)
|
||||
@@ -10,4 +10,10 @@ shared_module(
|
||||
name_prefix: '',
|
||||
install: true,
|
||||
install_dir: camlibs_dir,
|
||||
)
|
||||
|
||||
install_data(
|
||||
'README.tp6801',
|
||||
install_dir: camlibdoc_dir,
|
||||
install_tag: 'doc',
|
||||
)
|
||||
@@ -21,8 +21,6 @@ if get_option('docs')
|
||||
cdata_internals = cdata
|
||||
cdata_internals.set('HTML_APIDOC_INTERNALS_DIR', 'html-internals')
|
||||
|
||||
datadir = join_paths(get_option('datadir'), 'doc', meson.project_name())
|
||||
|
||||
doxyfile = configure_file(
|
||||
input: 'Doxyfile.in',
|
||||
output: 'Doxyfile',
|
||||
@@ -36,7 +34,7 @@ if get_option('docs')
|
||||
output: 'html',
|
||||
command: [doxygen, '@INPUT@'],
|
||||
install: true,
|
||||
install_dir: datadir
|
||||
install_dir: doc_dir
|
||||
)
|
||||
|
||||
if get_option('docs-internal')
|
||||
@@ -53,7 +51,7 @@ if get_option('docs')
|
||||
output: 'html-internals',
|
||||
command: [doxygen, '@INPUT@'],
|
||||
install: true,
|
||||
install_dir: datadir
|
||||
install_dir: doc_dir
|
||||
)
|
||||
endif
|
||||
endif
|
||||
|
||||
@@ -194,6 +194,9 @@ has_version_script = cc.has_link_argument('-Wl,--version-script=@0@'.format(
|
||||
|
||||
libgphoto2_root_inc = include_directories('.')
|
||||
|
||||
doc_dir = get_option('prefix') / get_option('datadir') / 'doc' / '@0@-@1@'.format(meson.project_name(), libgphoto2_current_min)
|
||||
camlibdoc_dir = doc_dir / 'camlibs'
|
||||
|
||||
iolibs_dir_suffix = libgphoto2_port_name / libgphoto2_port_version
|
||||
iolibs_dir = get_option('prefix') / get_option('libdir') / iolibs_dir_suffix
|
||||
|
||||
|
||||
@@ -12,6 +12,7 @@ if target_machine.system() in ['linux']
|
||||
|
||||
install_data(
|
||||
'check-ptp-camera',
|
||||
install_dir: udev_script_dir
|
||||
install_dir: udev_script_dir,
|
||||
install_tag: 'bin',
|
||||
)
|
||||
endif
|
||||
Reference in New Issue
Block a user