asciidoc-pve.in: define revdate/revnumber for all backends
authorDietmar Maurer <dietmar@proxmox.com>
Wed, 12 Oct 2016 09:57:46 +0000 (11:57 +0200)
committerDietmar Maurer <dietmar@proxmox.com>
Wed, 12 Oct 2016 09:57:46 +0000 (11:57 +0200)
asciidoc-pve.in

index ab23564..3f78976 100644 (file)
@@ -268,6 +268,8 @@ sub compile_asciidoc {
     my $attributes = {
        $env => undef,
        leveloffset => $leveloffset,
+       revnumber => $release,
+       revdate => $date,
     };
 
     my $mansection = $fileinfo->{mansection}->{$env}->{$infile};
@@ -342,7 +344,6 @@ sub compile_asciidoc {
 
        $attributes->{icons} = undef;
        $attributes->{'data-uri'} = undef;
-       $attributes->{revnumber} = $release;
 
        my $cmd = ['asciidoc'];