Commit | Line | Data |
---|---|---|
46c573de | 1 | #!/usr/bin/env perl |
80fea873 | 2 | # Copyright (c) The Exim Maintainers 2016 |
3634fc25 | 3 | |
8a483da6 NM |
4 | use strict; |
5 | use warnings; | |
6 | use Carp; | |
7 | use File::Copy; | |
8 | use File::Spec; | |
9 | use File::Path; | |
8f29c950 | 10 | use File::Temp; |
be914e6c | 11 | use FindBin; |
8a483da6 | 12 | use Getopt::Long; |
ba41f854 | 13 | use IO::File; |
8a483da6 NM |
14 | use Pod::Usage; |
15 | ||
16 | my $debug = 0; | |
17 | my $verbose = 0; | |
18 | ||
19 | # ------------------------------------------------------------------ | |
20 | ||
21 | sub get_and_check_version { | |
22 | my $release = shift; | |
be914e6c | 23 | my $context = shift; |
8a483da6 NM |
24 | |
25 | # make sure this looks like a real release version | |
9677df8a HSHR |
26 | # which should (currently) be 4.xx[.y] or 4.xx[.y]_RCx |
27 | unless ( $release =~ /^(?<release>(?<major>4\.\d\d)(?:\.(?<minor>\d+))?(?:_RC\d+)?)$/ ) { | |
8a483da6 NM |
28 | croak "The given version number does not look right - $release"; |
29 | } | |
9677df8a HSHR |
30 | $context->{release} = $+{release}; |
31 | $context->{major} = $+{major}; | |
32 | $context->{minor} = $+{minor}; | |
be914e6c | 33 | |
9677df8a | 34 | ($context->{trelease} = $+{release}) =~ s/_RC\d+//; |
8a483da6 NM |
35 | } |
36 | ||
37 | # ------------------------------------------------------------------ | |
38 | ||
8f29c950 | 39 | sub build_tag { |
8a483da6 NM |
40 | my $context = shift; |
41 | ||
42 | # The CVS tag consists of exim-$version where $version | |
43 | # is the version number with . replaced with _ | |
44 | my $modversion = $context->{release}; | |
45 | $modversion =~ tr/0-9RC/_/cs; | |
46 | ||
47 | return sprintf( 'exim-%s', $modversion ); | |
48 | } | |
49 | ||
50 | # ------------------------------------------------------------------ | |
51 | ||
52 | sub deal_with_working_directory { | |
53 | my $context = shift; | |
54 | my $delete = shift; | |
55 | ||
56 | # Set default directory | |
57 | $context->{directory} ||= File::Spec->rel2abs( sprintf( 'exim-packaging-%s', $context->{release} ) ); | |
58 | my $directory = $context->{directory}; | |
59 | ||
60 | # ensure the working directory is not in place | |
61 | if ( -d $directory ) { | |
62 | if ($delete) { | |
63 | print "Deleting existing $directory\n" if ($verbose); | |
64 | rmtree( $directory, { verbose => $debug } ); | |
65 | } | |
66 | if ( -d $directory ) { | |
67 | croak "Working directory $directory exists"; | |
68 | } | |
69 | } | |
70 | ||
46c573de | 71 | # create base directory |
8a483da6 | 72 | mkpath( $context->{directory}, { verbose => ( $verbose || $debug ) } ); |
46c573de NM |
73 | |
74 | # set and create subdirectories | |
5901f0ab | 75 | foreach (qw(release_tree pkgs pkgdirs docbook tmp)) { |
46c573de NM |
76 | $context->{$_} = File::Spec->catdir( $context->{directory}, $_ ); |
77 | mkpath( $context->{$_}, { verbose => ( $verbose || $debug ) } ); | |
78 | } | |
8a483da6 NM |
79 | } |
80 | ||
81 | # ------------------------------------------------------------------ | |
82 | ||
8f29c950 | 83 | sub export_git_tree { |
8a483da6 NM |
84 | my $context = shift; |
85 | ||
8f29c950 | 86 | # build git command |
5901f0ab | 87 | my $archive_file = sprintf( '%s/%s-%s.tar', $context->{tmp}, $context->{pkgname}, $context->{release} ); |
8f29c950 NM |
88 | $context->{tmp_archive_file} = $archive_file; |
89 | my @cmd = ( 'git', 'archive', '--format=tar', "--output=$archive_file", $context->{tag} ); | |
8f29c950 | 90 | # run git command |
8a483da6 NM |
91 | print( "Running: ", join( ' ', @cmd ), "\n" ) if ($verbose); |
92 | system(@cmd) == 0 || croak "Export failed"; | |
93 | } | |
94 | ||
95 | # ------------------------------------------------------------------ | |
96 | ||
8f29c950 NM |
97 | sub unpack_tree { |
98 | my $context = shift; | |
99 | ||
100 | die "Cannot see archive file\n" unless ( -f $context->{tmp_archive_file} ); | |
46c573de | 101 | my @cmd = ( 'tar', 'xf', $context->{tmp_archive_file}, '-C', $context->{release_tree} ); |
8f29c950 NM |
102 | |
103 | # run command | |
104 | print( "Running: ", join( ' ', @cmd ), "\n" ) if ($verbose); | |
105 | system(@cmd) == 0 || croak "Unpack failed"; | |
106 | } | |
107 | ||
108 | # ------------------------------------------------------------------ | |
109 | ||
5901f0ab | 110 | sub make_version_script { |
ba41f854 PP |
111 | my $context = shift; |
112 | ||
ba41f854 PP |
113 | my $variant = substr( $context->{release}, length($context->{trelease}) ); |
114 | if ( $context->{release} ne $context->{trelease} . $variant ) { | |
115 | die "Broken version numbering, I'm buggy"; | |
116 | } | |
5901f0ab | 117 | |
ba41f854 | 118 | my $srcdir = File::Spec->catdir( $context->{release_tree}, 'src', 'src' ); |
3ec6ea71 | 119 | chdir $srcdir or die "chdir $srcdir: $!\n"; |
5901f0ab TF |
120 | |
121 | if ( -f "version.sh" ) { | |
122 | print( "WARNING: version.sh already exists - leaving it in place\n" ); | |
ba41f854 PP |
123 | return; |
124 | } | |
125 | ||
9677df8a HSHR |
126 | # Currently (25. Feb. 2016) the mk_exim_release.pl up to now can't |
127 | # deal with security releases.!? So we need a current | |
128 | # mk_exim_release.pl. But if we use a current (master), the | |
129 | # reversion script returns wrong version info (it's running inside | |
130 | # the Git tree and uses git --describe, which always returns the | |
131 | # current version of master.) I do not want to change the old | |
132 | # reversion scripts (in 4.86.1, 4.85.1). | |
133 | # | |
134 | # Thus we've to provide the version.sh, based on the info we have | |
135 | # about the release. If reversion finds this, it doesn't try to find | |
136 | # it's own way to get a valid version number from the git. | |
137 | open(my $v, '>', 'version.sh') or die "Can't open '>version.sh' $!\n"; | |
138 | print {$v} <<__; | |
139 | # initial version automatically generated from $0 | |
140 | EXIM_RELEASE_VERSION=$context->{major} | |
141 | EXIM_VARIANT_VERSION=@{[$context->{minor}?'_'.$context->{minor}:'']} | |
142 | EXIM_COMPILE_NUMBER=0 | |
143 | __ | |
144 | close($v); | |
145 | unlink 'version.h'; | |
146 | return; | |
147 | ||
148 | # Later, if we get the reversion script fixed, we can call it again. | |
149 | # For now (25. Feb. 2016) we'll leave it unused. | |
150 | my @cmd = ("../scripts/reversion", "release", $context->{tag}); | |
5901f0ab TF |
151 | print( "Running: ", join( ' ', @cmd ), "\n" ) if ($verbose); |
152 | system(@cmd) == 0 || croak "reversion failed"; | |
153 | ||
154 | unlink "version.h"; | |
ba41f854 | 155 | |
9677df8a | 156 | -f "version.sh" or die "failed to create version.sh"; |
ba41f854 PP |
157 | } |
158 | ||
159 | # ------------------------------------------------------------------ | |
160 | ||
be914e6c NM |
161 | sub build_html_documentation { |
162 | my $context = shift; | |
163 | ||
164 | my $genpath = $context->{webgen_base} . '/script/gen.pl'; | |
165 | my $templates = $context->{webgen_base} . '/templates'; | |
46c573de NM |
166 | my $dir = File::Spec->catdir( $context->{release_tree}, 'html' ); |
167 | my $spec = File::Spec->catfile( $context->{docbook}, 'spec.xml' ); | |
168 | my $filter = File::Spec->catfile( $context->{docbook}, 'filter.xml' ); | |
169 | ||
be914e6c NM |
170 | mkdir($dir); |
171 | ||
cd6d74ab NM |
172 | my @cmd = ( |
173 | $genpath, '--spec', $spec, '--filter', | |
174 | $filter, '--latest', $context->{trelease}, '--tmpl', | |
e14fcb3b | 175 | $templates, '--docroot', $dir, '--localstatic' |
cd6d74ab | 176 | ); |
e14fcb3b | 177 | push @cmd, '--verbose' if $verbose or $debug; |
be914e6c NM |
178 | |
179 | print "Executing ", join( ' ', @cmd ), "\n"; | |
180 | system(@cmd); | |
181 | ||
182 | # move directory into right place | |
46c573de NM |
183 | my $sourcedir = File::Spec->catdir( $context->{docbook}, 'filter.xml' ); |
184 | ||
185 | rename( | |
186 | File::Spec->catdir( $dir, sprintf( 'exim-html-%s', $context->{trelease} ) ), | |
187 | File::Spec->catdir( $context->{pkgdirs}, sprintf( 'exim-html-%s', $context->{release} ) ) | |
188 | ); | |
189 | } | |
190 | ||
191 | # ------------------------------------------------------------------ | |
192 | ||
193 | sub copy_docbook_files { | |
194 | my $context = shift; | |
195 | ||
196 | # where the generated docbook files can be found | |
197 | my $docdir = File::Spec->catdir( $context->{release_tree}, 'doc', 'doc-docbook' ); | |
198 | ||
199 | # where the website docbook source dir is - push files to here | |
200 | my $webdir = File::Spec->catdir( $context->{webgen_base}, 'docbook', $context->{trelease} ); | |
201 | mkpath( $webdir, { verbose => ( $verbose || $debug ) } ); | |
202 | ||
203 | foreach my $file ( 'spec.xml', 'filter.xml' ) { | |
204 | my $from = File::Spec->catfile( $docdir, $file ); | |
205 | my $to = File::Spec->catfile( $context->{docbook}, $file ); | |
206 | my $webto = File::Spec->catfile( $webdir, $file ); | |
207 | copy( $from, $to ); | |
208 | copy( $from, $webto ); | |
209 | } | |
be914e6c NM |
210 | } |
211 | ||
212 | # ------------------------------------------------------------------ | |
213 | ||
8a483da6 | 214 | sub build_documentation { |
be914e6c NM |
215 | my $context = shift; |
216 | ||
46c573de | 217 | my $docdir = File::Spec->catdir( $context->{release_tree}, 'doc', 'doc-docbook' ); |
39d16d73 | 218 | # documentation building gets the truncated release, without RC |
a7637438 | 219 | system("cd '$docdir' && ./OS-Fixups && $context->{make_cmd} EXIM_VER=$context->{trelease} everything") == 0 |
8a483da6 | 220 | || croak "Doc build failed"; |
be914e6c | 221 | |
46c573de | 222 | copy_docbook_files($context); |
2820726f | 223 | build_html_documentation($context) if $context->{web}; |
8a483da6 NM |
224 | } |
225 | ||
226 | # ------------------------------------------------------------------ | |
227 | ||
228 | sub move_text_docs_into_pkg { | |
229 | my $context = shift; | |
230 | ||
821bc55f PP |
231 | my $old_docdir = File::Spec->catdir( $context->{release_tree}, 'doc', 'doc-docbook' ); |
232 | my $old_txtdir = File::Spec->catdir( $context->{release_tree}, 'doc', 'doc-txt' ); | |
46c573de | 233 | my $new_docdir = File::Spec->catdir( $context->{eximpkgdir}, 'doc' ); |
8a483da6 NM |
234 | mkpath( $new_docdir, { verbose => ( $verbose || $debug ) } ); |
235 | ||
236 | # move generated documents from docbook stuff | |
237 | foreach my $file (qw/exim.8 spec.txt filter.txt/) { | |
466581b5 | 238 | die "Empty file \"$file\"\n" if -z File::Spec->catfile( $old_docdir, $file ); |
8a483da6 NM |
239 | move( File::Spec->catfile( $old_docdir, $file ), File::Spec->catfile( $new_docdir, $file ) ); |
240 | } | |
241 | ||
242 | # move text documents across | |
821bc55f | 243 | foreach my $file ( glob( File::Spec->catfile( $old_txtdir, '*' ) ) ) { |
8a483da6 NM |
244 | |
245 | # skip a few we dont want | |
246 | my $fn = ( File::Spec->splitpath($file) )[2]; | |
247 | next | |
248 | if ( ( $fn eq 'ABOUT' ) | |
249 | || ( $fn eq 'ChangeLog.0' ) | |
3394b36a TL |
250 | || ( $fn eq 'test-harness.txt' ) |
251 | # Debian issue re licensing of RFCs | |
252 | || ( $fn =~ /^draft-ietf-.*/ ) | |
253 | || ( $fn =~ /^rfc.*/ ) | |
254 | ); | |
8a483da6 NM |
255 | move( $file, File::Spec->catfile( $new_docdir, $fn ) ); |
256 | } | |
257 | } | |
258 | ||
259 | # ------------------------------------------------------------------ | |
260 | ||
261 | sub build_pspdfinfo_directory { | |
262 | my $context = shift; | |
263 | ||
264 | ##foreach my $format (qw/pdf postscript texinfo info/) { | |
265 | foreach my $format (qw/pdf postscript/) { | |
46c573de | 266 | my $target = File::Spec->catdir( $context->{pkgdirs}, sprintf( 'exim-%s-%s', $format, $context->{release} ), 'doc' ); |
8a483da6 NM |
267 | mkpath( $target, { verbose => ( $verbose || $debug ) } ); |
268 | ||
269 | # move documents across | |
270 | foreach my $file ( | |
271 | glob( | |
272 | File::Spec->catfile( | |
46c573de NM |
273 | $context->{release_tree}, |
274 | 'doc', | |
275 | 'doc-docbook', | |
8a483da6 NM |
276 | ( |
277 | ( $format eq 'postscript' ) | |
278 | ? '*.ps' | |
279 | : ( '*.' . $format ) | |
280 | ) | |
281 | ) | |
282 | ) | |
283 | ) | |
284 | { | |
46c573de | 285 | move( $file, File::Spec->catfile( $target, ( File::Spec->splitpath($file) )[2] ) ); |
8a483da6 NM |
286 | } |
287 | } | |
288 | } | |
289 | ||
290 | # ------------------------------------------------------------------ | |
291 | ||
8a483da6 NM |
292 | sub build_main_package_directory { |
293 | my $context = shift; | |
294 | ||
46c573de NM |
295 | # build the exim package directory path |
296 | $context->{eximpkgdir} = File::Spec->catdir( $context->{pkgdirs}, sprintf( 'exim-%s', $context->{release} ) ); | |
297 | ||
8a483da6 | 298 | # initially we move the exim-src directory to the new directory name |
46c573de NM |
299 | rename( File::Spec->catdir( $context->{release_tree}, 'src' ), $context->{eximpkgdir} ) |
300 | || croak "Rename of src dir failed - $!"; | |
8a483da6 NM |
301 | |
302 | # add Local subdirectory | |
46c573de | 303 | mkpath( File::Spec->catdir( $context->{eximpkgdir}, 'Local' ), { verbose => ( $verbose || $debug ) } ); |
8a483da6 NM |
304 | |
305 | # now add the text docs | |
306 | move_text_docs_into_pkg($context); | |
307 | } | |
308 | ||
309 | # ------------------------------------------------------------------ | |
310 | ||
311 | sub build_package_directories { | |
312 | my $context = shift; | |
313 | ||
314 | build_main_package_directory($context); | |
9677df8a | 315 | build_pspdfinfo_directory($context) if $context->{build_docs}; |
8a483da6 NM |
316 | } |
317 | ||
318 | # ------------------------------------------------------------------ | |
319 | ||
46c573de NM |
320 | sub do_cleanup { |
321 | my $context = shift; | |
322 | ||
323 | print "Cleaning up\n" if ($verbose); | |
3ec6ea71 | 324 | chdir( $context->{directory} ) || die; |
46c573de NM |
325 | rmtree( $context->{release_tree}, { verbose => $debug } ); |
326 | rmtree( $context->{docbook}, { verbose => $debug } ); | |
327 | rmtree( $context->{pkgdirs}, { verbose => $debug } ); | |
328 | } | |
329 | ||
330 | # ------------------------------------------------------------------ | |
331 | ||
9d0311ff PP |
332 | # We prefer gtar to tar if gtar exists in $PATH |
333 | ||
334 | sub fix_paths_tar { | |
335 | my $context = shift; | |
336 | my $tar = $context->{tar_cmd}; | |
337 | ||
338 | return unless $tar eq 'tar'; | |
339 | ||
340 | foreach my $d (File::Spec->path()) { | |
341 | my $p = File::Spec->catfile($d, 'gtar'); | |
342 | if (-x $p) { | |
343 | $context->{tar_cmd} = $p; | |
344 | print "Switched tar command to: $p\n" if ($verbose); | |
345 | return; | |
346 | } | |
347 | } | |
348 | } | |
349 | ||
350 | # ------------------------------------------------------------------ | |
351 | ||
8a483da6 NM |
352 | sub create_tar_files { |
353 | my $context = shift; | |
354 | ||
46c573de NM |
355 | my $pkgs = $context->{pkgs}; |
356 | my $pkgdirs = $context->{pkgdirs}; | |
9d0311ff PP |
357 | my $tar = $context->{tar_cmd}; |
358 | if ($verbose) { | |
359 | foreach my $c (keys %{ $context->{compressors} }) { | |
360 | print "Compression: $c\t$context->{compressors}{$c}\n"; | |
361 | } | |
362 | } | |
363 | ||
46c573de NM |
364 | foreach my $dir ( glob( File::Spec->catdir( $pkgdirs, ( 'exim*-' . $context->{release} ) ) ) ) { |
365 | my $dirname = ( File::Spec->splitdir($dir) )[-1]; | |
9d0311ff | 366 | if ($context->{compressors}{gzip}) { |
03b76468 | 367 | print "Creating: ${pkgs}/${dirname}.tar.gz\n" if ($verbose || $debug); |
9d0311ff PP |
368 | system("$tar cf ${pkgs}/${dirname}.tar.gz --gzip -C ${pkgdirs} ${dirname}") |
369 | } | |
370 | if ($context->{compressors}{bzip2}) { | |
03b76468 | 371 | print "Creating: ${pkgs}/${dirname}.tar.bz2\n" if ($verbose || $debug); |
9d0311ff PP |
372 | system("$tar cf ${pkgs}/${dirname}.tar.bz2 --bzip2 -C ${pkgdirs} ${dirname}") |
373 | } | |
374 | if ($context->{compressors}{lzip}) { | |
03b76468 | 375 | print "Creating: ${pkgs}/${dirname}.tar.lz\n" if ($verbose || $debug); |
9d0311ff PP |
376 | system("$tar cf ${pkgs}/${dirname}.tar.lz --lzip -C ${pkgdirs} ${dirname}") |
377 | } | |
8a483da6 NM |
378 | } |
379 | } | |
380 | ||
381 | # ------------------------------------------------------------------ | |
91bde4a0 HSHR |
382 | MAIN: { |
383 | ||
384 | $0 =~ m|^(?:\./)?release-process/scripts/| | |
385 | or die "$0: please call this script from the root of the Exim project sources\n"; | |
386 | ||
8a483da6 | 387 | my $context = { |
be914e6c NM |
388 | pkgname => 'exim', |
389 | orig_dir => File::Spec->curdir(), | |
390 | tmp_dir => File::Temp->newdir(), | |
391 | webgen_base => "$FindBin::Bin/../../../exim-website", | |
9d0311ff | 392 | tar_cmd => 'tar', |
a7637438 | 393 | make_cmd => 'make', |
9d0311ff PP |
394 | compressors => { |
395 | gzip => 1, | |
396 | bzip2 => 1, | |
e099cd0d | 397 | lzip => 0, |
9d0311ff | 398 | }, |
9677df8a | 399 | build_docs => 1, |
2820726f | 400 | web => 1, |
8a483da6 NM |
401 | }; |
402 | my $delete; | |
46c573de | 403 | my $cleanup = 1; |
8f29c950 | 404 | ##$ENV{'PATH'} = '/opt/local/bin:' . $ENV{'PATH'}; |
8a483da6 | 405 | |
91bde4a0 HSHR |
406 | GetOptions( |
407 | 'directory=s' => \$context->{directory}, | |
408 | 'webgen_base=s' => \$context->{webgen_base}, | |
409 | 'tar=s' => \$context->{tar_cmd}, | |
410 | 'make=s' => \$context->{make_cmd}, | |
411 | 'lzip!' => \$context->{compressors}{lzip}, | |
412 | 'verbose!' => \$verbose, | |
413 | 'debug!' => \$debug, | |
414 | 'help|?' => sub { pod2usage(-verbose => 1, -exit => 0) }, | |
415 | 'man!' => sub { pod2usage(-verbose => 2, -exit => 0, -noperldoc => system('perldoc -V >/dev/null 2>&1')) }, | |
416 | 'delete!' => \$delete, | |
417 | 'cleanup!' => \$cleanup, | |
418 | 'build-docs!' => \$context->{build_docs}, | |
419 | 'web!' => \$context->{web}, | |
420 | ) and @ARGV == 1 or pod2usage; | |
8a483da6 | 421 | |
25af913a | 422 | umask(022); |
be914e6c | 423 | get_and_check_version( shift, $context ); |
9d0311ff | 424 | fix_paths_tar($context); |
be914e6c | 425 | $context->{tag} = build_tag($context); |
8a483da6 | 426 | deal_with_working_directory( $context, $delete ); |
8f29c950 | 427 | export_git_tree($context); |
8a483da6 | 428 | chdir( $context->{directory} ) || die; |
8f29c950 | 429 | unpack_tree($context); |
5901f0ab | 430 | make_version_script($context); |
9677df8a | 431 | build_documentation($context) if $context->{build_docs}; |
8a483da6 NM |
432 | build_package_directories($context); |
433 | create_tar_files($context); | |
46c573de | 434 | do_cleanup($context) if ($cleanup); |
8a483da6 NM |
435 | } |
436 | ||
437 | 1; | |
438 | ||
439 | __END__ | |
440 | ||
441 | =head1 NAME | |
442 | ||
6bfa380e | 443 | mk_exim_release - Build an exim release |
8a483da6 NM |
444 | |
445 | =head1 SYNOPSIS | |
446 | ||
91bde4a0 HSHR |
447 | mk_exim_release [options] version |
448 | ||
449 | =head1 DESCRIPTION | |
450 | ||
451 | B<mk_exim_release> builds an exim release. | |
452 | ||
453 | Starting in a populated git repo that has already been tagged for | |
454 | release it builds docs, packages etc. Parameter is the version number | |
455 | to build as - ie 4.72 4.72RC1, 4.86.1, etc | |
456 | ||
457 | After creating the release files, they should be signed. There is another | |
458 | helper for creating the signatures: | |
459 | F<release-process/scripts/sign_exim_packages>. | |
460 | ||
461 | Call B<mk_exim_release> about like this: | |
462 | ||
463 | release-process/scripts/mk_exim_release 4.99 | |
8a483da6 | 464 | |
8a483da6 NM |
465 | |
466 | =head1 OPTIONS | |
467 | ||
468 | =over 4 | |
469 | ||
91bde4a0 | 470 | =item B<--[no]debug> |
8a483da6 | 471 | |
91bde4a0 | 472 | Forces debug mode. (default: no debug info) |
8a483da6 | 473 | |
91bde4a0 | 474 | =item B<--[no]delete> |
9d0311ff | 475 | |
91bde4a0 | 476 | Delete a pre-existing package directory at start. (default: don't delete) |
9d0311ff | 477 | |
91bde4a0 | 478 | =item B<--directory> I<dir> |
a7637438 | 479 | |
91bde4a0 | 480 | Change the name of the package directory (default: F<< exim-packaging-<version> >>) |
a7637438 | 481 | |
91bde4a0 | 482 | =item B<--[no]help> |
9d0311ff | 483 | |
91bde4a0 | 484 | Display short help and exit cleanly. (default: don't do that) |
9d0311ff | 485 | |
91bde4a0 | 486 | =item B<--[no]lzip> |
8a483da6 | 487 | |
91bde4a0 | 488 | Control the creation of B<lzip> tarballs. (default: do not use lzip) |
8a483da6 | 489 | |
91bde4a0 | 490 | =item B<--make> I<cmd> |
8a483da6 | 491 | |
91bde4a0 HSHR |
492 | Force the use of a specific C<make> command. This may be necessary if C<make> is not |
493 | C<gmake> (default: C<make>) | |
8a483da6 | 494 | |
91bde4a0 | 495 | =item B<--[no]man> |
8a483da6 | 496 | |
91bde4a0 | 497 | Display man page and exit cleanly. (default: don't do that) |
8a483da6 | 498 | |
91bde4a0 | 499 | =item B<--tar> I<cmd> |
8a483da6 | 500 | |
91bde4a0 HSHR |
501 | Use to override the path to the C<tar> command. Need GNU tar in case |
502 | I<lzip> is selected. (default: C<gtar>, if not found, use C<tar>) | |
8a483da6 | 503 | |
91bde4a0 | 504 | =item B<--[no]web> |
8a483da6 | 505 | |
91bde4a0 HSHR |
506 | Control the creation of the website. For creation of the website, the F<../exim-website> |
507 | directory must exist. (default: create the website) | |
8a483da6 | 508 | |
91bde4a0 HSHR |
509 | =item B<--verbose> |
510 | ||
511 | Force verbose mode. (default: no verbosity) | |
512 | ||
513 | =back | |
8a483da6 NM |
514 | |
515 | =head1 AUTHOR | |
516 | ||
91bde4a0 HSHR |
517 | Nigel Metheringham <Nigel.Metheringham@dev.intechnology.co.uk>, |
518 | some changes by Heiko Schlittermann <hs@schlittermann.de> | |
8a483da6 NM |
519 | |
520 | =head1 COPYRIGHT | |
521 | ||
91bde4a0 | 522 | Copyright 2010-2016 Exim Maintainers. All rights reserved. |
8a483da6 NM |
523 | |
524 | =cut | |
9d0311ff | 525 | # vim: set sw=4 et : |