Provide package data dir for compiler option

This allows the code consuming data files to know where they are stored
instead of using hard coded values.

Signed-off-by: Zane Shelley <zshelle@us.ibm.com>
Change-Id: I353128096103a5195df5ba05c02868517903813f
diff --git a/analyzer/ras-data/meson.build b/analyzer/ras-data/meson.build
index 23644d5..2c40fbd 100644
--- a/analyzer/ras-data/meson.build
+++ b/analyzer/ras-data/meson.build
@@ -7,7 +7,5 @@
     explorer_data_files,
 ]
 
-install_data( data_files, install_dir : join_paths(get_option('prefix'),
-                                                   get_option('datadir'),
-                                                   meson.project_name()) )
+install_data( data_files, install_dir : package_dir )