ae8e90
From 9872b897d6a9a39e3392c39bca70cfd9dd084558 Mon Sep 17 00:00:00 2001
ae8e90
From: rpm-build <rpm-build>
ae8e90
Date: Mon, 26 Sep 2022 16:02:39 +0200
ae8e90
Subject: [PATCH] install: keep installing dtrace and systemtap files
ae8e90
ae8e90
Partly reverts commit e27e709d3ca93b3e7036ddc4f4d28dfde228bfb6.
ae8e90
ae8e90
Signed-off-by: rpm-build <rpm-build>
ae8e90
---
ae8e90
 tools/install.py | 5 +++++
ae8e90
 1 file changed, 5 insertions(+)
ae8e90
ae8e90
diff --git a/tools/install.py b/tools/install.py
ae8e90
index 4b01d67..dc16797 100755
ae8e90
--- a/tools/install.py
ae8e90
+++ b/tools/install.py
ae8e90
@@ -178,6 +178,11 @@ def files(action):
ae8e90
       output_lib = 'libnode.' + variables.get('shlib_suffix')
ae8e90
       action([output_prefix + output_lib], variables.get('libdir') + '/' + output_lib)
ae8e90
 
ae8e90
+  if 'true' == variables.get('node_use_dtrace'):
ae8e90
+    action(['out/Release/node.d'], variables.get('libdir') + '/dtrace/node.d')
ae8e90
+
ae8e90
+  action(['src/node.stp'], 'share/systemtap/tapset/')
ae8e90
+
ae8e90
   action(['deps/v8/tools/gdbinit'], 'share/doc/node/')
ae8e90
   action(['deps/v8/tools/lldb_commands.py'], 'share/doc/node/')
ae8e90
 
ae8e90
-- 
ae8e90
2.37.3
ae8e90