Skip to content

Commit

Permalink
Install examples
Browse files Browse the repository at this point in the history
Examples are useful as part of the documentation, so they should be
available when installing Emeus.
  • Loading branch information
ebassi committed Nov 10, 2016
1 parent bdd4f72 commit 1216653
Showing 1 changed file with 13 additions and 1 deletion.
14 changes: 13 additions & 1 deletion examples/meson.build
@@ -1,2 +1,14 @@
examples = [
'simple-grid.c',
'simple-grid.js',
'centered.js',
]

examples_dir = get_option('datadir') + '/emeus-@0@/examples'.format(emeus_api_version)

install_data(examples, install_dir: examples_dir)

executable('simple-grid', 'simple-grid.c',
dependencies: [ gtk_dep, emeus_dep ])
dependencies: [ gtk_dep, emeus_dep ],
install: true,
install_dir: examples_dir)

0 comments on commit 1216653

Please sign in to comment.