From: Dietmar Maurer Date: Wed, 12 Oct 2016 09:57:46 +0000 (+0200) Subject: asciidoc-pve.in: define revdate/revnumber for all backends X-Git-Url: https://git.proxmox.com/?p=pve-docs.git;a=commitdiff_plain;h=b2a47ab2b563eed8ed7cdd9a91e0cb2b2f6dabb4 asciidoc-pve.in: define revdate/revnumber for all backends --- diff --git a/asciidoc-pve.in b/asciidoc-pve.in index ab23564..3f78976 100644 --- a/asciidoc-pve.in +++ b/asciidoc-pve.in @@ -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'];