Commit a2a47d1e authored by Jiří Techet's avatar Jiří Techet

Remove unnecessary comparisons

parent d7c58424
......@@ -82,7 +82,7 @@ libchamplain_gtk_dep_sources = [
libchamplain_gtk_marshals_h,
]
if generate_gir == true
if generate_gir
libchamplain_gtk_gir_includes = [
'GObject-2.0',
'Clutter-1.0',
......@@ -113,7 +113,7 @@ if generate_gir == true
libchamplain_gtk_gir,
]
if generate_vapi == true
if generate_vapi
libchamplain_gtk_vapi_packages = [
'clutter-gtk-1.0',
'cogl-pango-1.0',
......
......@@ -36,7 +36,7 @@ libchamplain_public_h = [
'champlain.h',
]
if build_with_memphis == true
if build_with_memphis
libchamplain_public_h += [
'champlain-memphis-renderer.h',
]
......@@ -79,7 +79,7 @@ libchamplain_sources = [
'champlain-viewport.c',
]
if build_with_memphis == true
if build_with_memphis
libchamplain_sources += [
'champlain-memphis-renderer.c',
]
......@@ -96,7 +96,7 @@ libchamplain_deps = [
libsoup_dep,
]
if build_with_memphis == true
if build_with_memphis
libchamplain_deps += memphis_dep
endif
......@@ -112,7 +112,7 @@ libchamplain_link_args = [
]
features_h = configuration_data()
if build_with_memphis == true
if build_with_memphis
features_h.set('CHAMPLAIN_HAS_MEMPHIS', '1')
endif
......@@ -206,13 +206,13 @@ libchamplain_dep_sources = [
libchamplain_version_h,
]
if generate_gir == true
if generate_gir
libchamplain_gir_includes = [
'GObject-2.0',
'Clutter-1.0',
]
if build_with_memphis == true
if build_with_memphis
libchamplain_gir_includes += 'Memphis-0.2'
endif
......@@ -239,7 +239,7 @@ if generate_gir == true
libchamplain_gir,
]
if generate_vapi == true
if generate_vapi
libchamplain_vapi_packages = [
'clutter-1.0',
'cogl-pango-1.0',
......
......@@ -24,7 +24,7 @@ endforeach
subdir('icons')
subdir('memphis')
if build_gtk_widgetry == true
if build_gtk_widgetry
libchamplain_gtk_demos = [
['minimal-gtk', 'minimal-gtk.c'],
['launcher-gtk', ['launcher-gtk.c', 'markers.c']],
......@@ -46,7 +46,7 @@ if build_gtk_widgetry == true
endforeach
endif
if generate_vapi == true and build_gtk_widgetry == true
if generate_vapi and build_gtk_widgetry
libchamplain_vala_demos = [
['launcher-vala', ['launcher-vala.vala', 'markers-vala.vala']],
]
......@@ -70,7 +70,7 @@ if generate_vapi == true and build_gtk_widgetry == true
endforeach
endif
if build_with_memphis == true and build_gtk_widgetry == true
if build_with_memphis and build_gtk_widgetry
libchamplain_memphis_demos = [
['local-rendering', 'local-rendering.c'],
]
......
if build_gtk_doc == true
if build_gtk_doc
subdir('reference')
if build_gtk_widgetry == true
if build_gtk_widgetry
subdir('reference-gtk')
endif
endif
\ No newline at end of file
endif
......@@ -20,7 +20,7 @@ libchamplain_reference_ignored_h = [
'champlain.h',
]
if build_with_memphis == false
if not build_with_memphis
libchamplain_reference_ignored_h += [
'champlain-memphis-renderer.h',
]
......
......@@ -130,13 +130,13 @@ if generate_vapi and not vapigen_dep.found()
endif
subdir('champlain')
if build_gtk_widgetry == true
if build_gtk_widgetry
subdir('champlain-gtk')
endif
subdir('docs')
if build_demos == true
if build_demos
subdir('demos')
endif
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment