All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
fix-header-locs-ifdh.pl
Go to the documentation of this file.
1 use strict;
2 
3 use vars qw(%inc_translations $g4physics_list);
4 BEGIN { %inc_translations = (
5  "IFDH_service.h" => "ifdh_art/IFDHService/IFDH_service.h",
6  "IFBeam_service.h" => "ifdh_art/IFBeamService/IFBeam_service.h",
7  "IFCatalogInterface_service.h" => "ifdh_art/IFCatalogInterface/IFCatalogInterface_service.h",
8  "IFFileTransfer_service.h" => "ifdh_art/IFFileTransfer/IFFileTransfer_service.h",
9  "nucondb_service.h" => "ifdh_art/NUconDBService/NUconDB_service.h"
10  );
11 
12  }
13 
14 foreach my $inc (sort keys %inc_translations) {
15  s&^(\s*#include\s+["<])\Q$inc\E(.*)&${1}$inc_translations{$inc}${2}& and last;
16 }
17 
18 
19 
20 ### Local Variables:
21 ### mode: cperl
22 ### End:
use File::Basename qw(fileparse)
foreach my $inc(sort keys%subdir_list)
Definition: fix_headers.pl:100
my($xml, $fcl, $workdir, $check, $merge)
BEGIN
Definition: fix_cmake.pl:4
use strict
Definition: SubmitCommand.pl:8
then echo File list $list not found else cat $list while read file do echo $file sed s
Definition: file_to_url.sh:60