summaryrefslogtreecommitdiff
path: root/release-process/scripts
diff options
context:
space:
mode:
authorJeremy Harris <jgh146exb@wizmail.org>2012-11-24 22:51:55 +0000
committerJeremy Harris <jgh146exb@wizmail.org>2012-11-24 22:54:08 +0000
commit2aee48d6f2a6526fffe18cd619fde9693f400034 (patch)
tree57a1a470b4b8b1527af4934a7ff5e43f5471632f /release-process/scripts
parent2369bf9c1f5337d3ea493670d214fefda00c8e66 (diff)
Insert version number and date into documentation at build time. Bug 1318.
Write a temp file with macro definitions from the makefile, and include it from the doc sources. Pass the version to make from the perl script. It is still needed to manually update the previous-version number and changebar indicators (.new/.wen) manually.
Diffstat (limited to 'release-process/scripts')
-rwxr-xr-xrelease-process/scripts/mk_exim_release.pl2
1 files changed, 1 insertions, 1 deletions
diff --git a/release-process/scripts/mk_exim_release.pl b/release-process/scripts/mk_exim_release.pl
index ffb9ecff6..d29770d27 100755
--- a/release-process/scripts/mk_exim_release.pl
+++ b/release-process/scripts/mk_exim_release.pl
@@ -191,7 +191,7 @@ sub build_documentation {
my $context = shift;
my $docdir = File::Spec->catdir( $context->{release_tree}, 'doc', 'doc-docbook' );
- system("cd '$docdir' && ./OS-Fixups && make everything") == 0
+ system("cd '$docdir' && ./OS-Fixups && make EXIM_VER=$context->{release} everything") == 0
|| croak "Doc build failed";
copy_docbook_files($context);