Use basename of objxref.pl not whole path in generated header.

This commit is contained in:
Dr. Stephen Henson 2009-04-06 16:16:23 +00:00
parent b422166ce0
commit 0048464449
2 changed files with 6 additions and 3 deletions

View File

@ -1,4 +1,4 @@
/* AUTOGENERATED BY crypto/objects/objxref.pl, DO NOT EDIT */
/* AUTOGENERATED BY objxref.pl, DO NOT EDIT */
typedef struct
{

View File

@ -54,10 +54,13 @@ my @srt2 = sort
return $ap2 - $bp2;
} @xrkeys;
my $pname = $0;
$pname =~ s|^.[^/]/||;
print <<EOF;
/* AUTOGENERATED BY $0, DO NOT EDIT */
/* AUTOGENERATED BY $pname, DO NOT EDIT */
typedef struct
{