git://git.exim.org
/
users
/
heiko
/
exim.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (from parent 1:
2799857
)
Fix doc/ directory assembly in build-script.
author
Phil Pennock
<pdp@exim.org>
Mon, 21 Feb 2011 08:06:10 +0000
(
03:06
-0500)
committer
Phil Pennock
<pdp@exim.org>
Mon, 21 Feb 2011 08:06:10 +0000
(
03:06
-0500)
release-process/scripts/mk_exim_release.pl
patch
|
blob
|
history
diff --git
a/release-process/scripts/mk_exim_release.pl
b/release-process/scripts/mk_exim_release.pl
index f9dbe21a317981c1144ffde5aacf5a8927ad9fbb..566f2619d8748d5531982ef001ba8150be32f565 100755
(executable)
--- 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;
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 ) } );
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
}
# 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];
# skip a few we dont want
my $fn = ( File::Spec->splitpath($file) )[2];