summaryrefslogtreecommitdiff
path: root/src/haiku
diff options
context:
space:
mode:
Diffstat (limited to 'src/haiku')
-rw-r--r--src/haiku/meson.build18
1 files changed, 18 insertions, 0 deletions
diff --git a/src/haiku/meson.build b/src/haiku/meson.build
new file mode 100644
index 000000000..36b634420
--- /dev/null
+++ b/src/haiku/meson.build
@@ -0,0 +1,18 @@
+rc = meson.find_program('rc')
+xres = meson.find_program('xres')
+
+rsrc = custom_target(
+ 'mpd.rsrc',
+ output: 'mpd.rsrc',
+ input: 'mpd.rdef',
+ command: [rc, '-o', '@OUTPUT@', '@INPUT@'],
+)
+
+custom_target(
+ 'mpd.rsrc',
+ output: 'mpd',
+ input: [mpd, rsrc],
+ command: [xres, '-o', '@OUTPUT@', '--', '@INPUT@'],
+ install: true,
+ install_dir: get_option('bindir'),
+)