diff --git a/doc/www-data.in/CMakeLists.txt b/doc/www-data.in/CMakeLists.txt index eb092d3d9bf63e7b3d59a12367965ac4b2c8bb65..bf27b9d3d45d85368fc827eb35fec51da877f444 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 bd59e278a6df815670917979a46474bebbb518ca..0000000000000000000000000000000000000000 --- 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"; -}