From 439eb8de8c56166e0196cb75c9570ba1cca4da6a Mon Sep 17 00:00:00 2001
From: Dmitry Simonenko <pmwkaa@gmail.com>
Date: Wed, 18 Dec 2013 15:29:26 +0400
Subject: [PATCH] remove script/ directory and move it's content to extra/

---
 doc/www-data.in/CMakeLists.txt |  2 +-
 {scripts => extra}/static.py   |  0
 scripts/trace.pl               | 31 -------------------------------
 3 files changed, 1 insertion(+), 32 deletions(-)
 rename {scripts => extra}/static.py (100%)
 delete mode 100755 scripts/trace.pl

diff --git a/doc/www-data.in/CMakeLists.txt b/doc/www-data.in/CMakeLists.txt
index eb092d3d9b..bf27b9d3d4 100644
--- a/doc/www-data.in/CMakeLists.txt
+++ b/doc/www-data.in/CMakeLists.txt
@@ -1,4 +1,4 @@
 add_custom_target(www-data ALL
-    COMMAND ${PROJECT_SOURCE_DIR}/scripts/static.py
+    COMMAND ${PROJECT_SOURCE_DIR}/extra/static.py
             --source-path ${PROJECT_SOURCE_DIR}/doc/www-data.in
             --output-path ${PROJECT_BINARY_DIR}/doc/www-data)
diff --git a/scripts/static.py b/extra/static.py
similarity index 100%
rename from scripts/static.py
rename to extra/static.py
diff --git a/scripts/trace.pl b/scripts/trace.pl
deleted file mode 100755
index bd59e278a6..0000000000
--- a/scripts/trace.pl
+++ /dev/null
@@ -1,31 +0,0 @@
-#!/usr/bin/perl -s
-
-use strict;
-use warnings;
-use IPC::Open2 qw/open2/;
-
-our ($exe);
-die "$0: no valid -exe given" unless -f $exe;
-
-our($out, $in);
-my $addr2line_pid = open2($in, $out, qw/addr2line -f -e/, $exe) or die "can't spawn addr2line: $!";
-
-sub addr_to_name {
-    my ($f) = @_;
-
-    print $out "$f\n";
-    my $name = <$in>;
-    my $junk = <$in>;
-
-    chomp $name;
-    return $name;
-}
-
-while (<>) {
-    chomp;
-    next unless /(.*)(E|X)(0x\w+)/;
-
-    my $f = addr_to_name($3);
-
-    print "$1$2 $f\n";
-}
-- 
GitLab