summaryrefslogtreecommitdiff
path: root/maximus
diff options
context:
space:
mode:
Diffstat (limited to 'maximus')
-rw-r--r--maximus/maximus-bind.c3
-rw-r--r--maximus/meson.build39
2 files changed, 42 insertions, 0 deletions
diff --git a/maximus/maximus-bind.c b/maximus/maximus-bind.c
index cb4b860..893e889 100644
--- a/maximus/maximus-bind.c
+++ b/maximus/maximus-bind.c
@@ -18,6 +18,9 @@
*
*/
+#if HAVE_CONFIG_H
+#include <config.h>
+#endif
#include <stdio.h>
#include <string.h>
diff --git a/maximus/meson.build b/maximus/meson.build
new file mode 100644
index 0000000..349942c
--- /dev/null
+++ b/maximus/meson.build
@@ -0,0 +1,39 @@
+man1_dir = join_paths(maximus_mandir, 'man1')
+
+maximus_sources = [
+ 'eggaccelerators.c',
+ 'main.c',
+ 'maximus-app.c',
+ 'maximus-bind.c',
+ 'tomboykeybinder.c',
+ 'xutils.c'
+]
+
+executable('mate-maximus', maximus_sources,
+ include_directories: config_inc,
+ dependencies: netbook_deps,
+ install: true)
+
+# man files
+
+install_data('mate-maximus.1',
+ install_dir : man1_dir
+)
+
+# autostart file
+
+install_data('mate-maximus-autostart.desktop',
+install_dir: join_paths(get_option('prefix'), 'etc', 'xdg', 'autostart')
+)
+
+# .gschema file
+
+schema_data = configuration_data()
+schema_data.set('GETTEXT_PACKAGE', meson.project_name())
+configure_file(
+ input : 'org.mate.maximus.gschema.xml.in',
+ output : 'org.mate.maximus.gschema.xml',
+ configuration : schema_data,
+ install : true,
+ install_dir : join_paths(datadir, 'glib-2.0', 'schemas')
+)