Blob Blame History Raw
From 9872b897d6a9a39e3392c39bca70cfd9dd084558 Mon Sep 17 00:00:00 2001
From: rpm-build <rpm-build>
Date: Mon, 26 Sep 2022 16:02:39 +0200
Subject: [PATCH] install: keep installing dtrace and systemtap files

Partly reverts commit e27e709d3ca93b3e7036ddc4f4d28dfde228bfb6.

Signed-off-by: rpm-build <rpm-build>
---
 tools/install.py | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/tools/install.py b/tools/install.py
index 4b01d67..dc16797 100755
--- a/tools/install.py
+++ b/tools/install.py
@@ -178,6 +178,11 @@ def files(action):
       output_lib = 'libnode.' + variables.get('shlib_suffix')
       action([output_prefix + output_lib], variables.get('libdir') + '/' + output_lib)
 
+  if 'true' == variables.get('node_use_dtrace'):
+    action(['out/Release/node.d'], variables.get('libdir') + '/dtrace/node.d')
+
+  action(['src/node.stp'], 'share/systemtap/tapset/')
+
   action(['deps/v8/tools/gdbinit'], 'share/doc/node/')
   action(['deps/v8/tools/lldb_commands.py'], 'share/doc/node/')
 
-- 
2.37.3