]> git.netwichtig.de Git - user/henk/code/exim.git/blobdiff - release-process/scripts/mk_exim_release.pl
Remove obsolete $Cambridge$ CVS revision strings.
[user/henk/code/exim.git] / release-process / scripts / mk_exim_release.pl
index f9dbe21a317981c1144ffde5aacf5a8927ad9fbb..64fbb56f09f1c0e448cb8dde45dd64577d6efec4 100755 (executable)
@@ -1,7 +1,5 @@
 #!/usr/bin/env perl
-#
-# $Cambridge: exim/release-process/scripts/mk_exim_release.pl,v 1.1 2010/06/03 12:00:38 nm4 Exp $
-#
+
 use strict;
 use warnings;
 use Carp;
@@ -223,7 +221,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 +232,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];