Remove json-schema install

This code just copies the json-schema from the source dir to the compile
dir.  It doesn't actually accomplish anything.

Move the source dir to a compile flag, and let unit tests read in the
schema directly.

Note: Copy was actually done in two places.

Change-Id: I26aee9edbac5b253ca426d32118b71cc5f905e10
Signed-off-by: Ed Tanous <ed@tanous.net>
diff --git a/meson.build b/meson.build
index 2f19d99..04b8094 100644
--- a/meson.build
+++ b/meson.build
@@ -12,6 +12,13 @@
     ],
 )
 
+add_global_arguments(
+    '-DLIBCPER_JSON_SPEC="'
+    + meson.current_source_dir()
+    + '/specification/json/cper-json.json"',
+    language: ['c', 'cpp'],
+)
+
 library_is_share = get_option('default_library') == 'shared'
 
 project_description = 'libcper library'
@@ -140,13 +147,6 @@
     )
 endif
 
-run_command('cp', '-r', 'specification/json/', meson.current_build_dir(), check: true)
-run_command(
-    'mv',
-    meson.current_build_dir() / 'json',
-    meson.current_build_dir() / 'specification',
-)
-
 if get_option('tests').allowed()
     subdir('tests')
-endif
+endif
\ No newline at end of file