summaryrefslogtreecommitdiff
path: root/release-process
diff options
context:
space:
mode:
authorPhil Pennock <pdp@exim.org>2011-02-21 03:06:10 -0500
committerPhil Pennock <pdp@exim.org>2011-02-21 03:06:10 -0500
commit821bc55f156537c5d7ad99b648e14fc2e2e88be7 (patch)
tree1ff24b5af4d16b469228ec3ccc3827e7189940ed /release-process
parent2799857cb7b4195c20e20f34022b270c0266b766 (diff)
downloadexim4-821bc55f156537c5d7ad99b648e14fc2e2e88be7.tar.gz
Fix doc/ directory assembly in build-script.
Diffstat (limited to 'release-process')
-rwxr-xr-xrelease-process/scripts/mk_exim_release.pl5
1 files changed, 3 insertions, 2 deletions
diff --git a/release-process/scripts/mk_exim_release.pl b/release-process/scripts/mk_exim_release.pl
index f9dbe21a3..566f2619d 100755
--- a/release-process/scripts/mk_exim_release.pl
+++ b/release-process/scripts/mk_exim_release.pl
@@ -223,7 +223,8 @@ sub build_documentation {
sub move_text_docs_into_pkg {
my $context = shift;
- my $old_docdir = File::Spec->catdir( $context->{eximpkgdir}, 'doc', 'doc-docbook' );
+ my $old_docdir = File::Spec->catdir( $context->{release_tree}, 'doc', 'doc-docbook' );
+ my $old_txtdir = File::Spec->catdir( $context->{release_tree}, 'doc', 'doc-txt' );
my $new_docdir = File::Spec->catdir( $context->{eximpkgdir}, 'doc' );
mkpath( $new_docdir, { verbose => ( $verbose || $debug ) } );
@@ -233,7 +234,7 @@ sub move_text_docs_into_pkg {
}
# move text documents across
- foreach my $file ( glob( File::Spec->catfile( 'doc/doc-txt', '*' ) ) ) {
+ foreach my $file ( glob( File::Spec->catfile( $old_txtdir, '*' ) ) ) {
# skip a few we dont want
my $fn = ( File::Spec->splitpath($file) )[2];