pgBackRest Reliable PostgreSQL Backup & Restore use pgBackRestDoc::ProjectInfo; PROJECT_VERSION use pgBackRestDoc::Custom::DocCustomRelease; (new pgBackRestDoc::Custom::DocCustomRelease( new pgBackRestDoc::Common::Doc("{[doc-path]}/xml/release.xml")))->currentStableVersion(); pgbackrest / PostgreSQL - logo.png favicon.png n n n n use Time::Local; use pgBackRestDoc::Custom::DocCustomRelease; my ($second, $minute , $hour, $mday, $month, $year) = localtime(); $year += 1900; if ('{[release-date-static]}' eq 'y') { my $strDate = (new pgBackRestDoc::Custom::DocCustomRelease( new pgBackRestDoc::Common::Doc("{[doc-path]}/xml/release.xml")))->releaseLast()->paramGet('date'); if ($strDate eq 'XXXX-XX-XX') { confess &log(ERROR, 'not possible to use static release dates on a dev build'); } else { ($year, $month, $mday) = split(/[\s.\-]+/, $strDate); $month -= 1; } } my @stryMonth = ('January', 'February', 'March', 'April', 'May', 'June', 'July', 'August', 'September', 'October', 'November', 'December'); $stryMonth[$month] . ' ' . $mday . ', ' . $year; 'Copyright &copy; 2015' . '-' . substr('{[release-date]}', length('{[release-date]}') - 4) . ', The PostgreSQL Global Development Group, <a href="{[github-url-license]}">MIT License</a>. Updated ' . '{[release-date]}'; {[doc-path]}/output/latex/logo {[project]} User Guide Open Source PostgreSQL Backup and Restore Utility Version {[version]} Crunchy Data Solutions, Inc. cds-logo.eps {[pdf-title1]}\\{[pdf-title3]} \ \\-\ \thepage\ - {[pdf-organization]}\\\today CrunchyBackRest-UserGuide-{[version]}