From 2aee48d6f2a6526fffe18cd619fde9693f400034 Mon Sep 17 00:00:00 2001 From: Jeremy Harris Date: Sat, 24 Nov 2012 22:51:55 +0000 Subject: 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. --- release-process/scripts/mk_exim_release.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'release-process/scripts') 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); -- cgit v1.2.3