Subject: | Template-Toolkit-2.19_01 Makefile.PL breaks tt2_html_docs |
Date: | Fri, 12 Sep 2008 12:55:12 +0400 |
To: | bug-Template-Toolkit [...] rt.cpan.org |
From: | Alexey Tourbin <at [...] altlinux.ru> |
Hello,
This change seems to break 'make install tt2_html_docs tt2_examples',
and it is not even mentioned in changelog. Was it really intended
to disable installation of extras, or perhaps it was an accident
change in development version?
Installing optional components into /tmp/.private/at/perl-Template-buildroot/usr/share/tt2
+ docs
+ examples
+ images
+ templates
Weaving the rainbow: blowing colour into Splash! GIFs
src: /tmp/.private/at/perl-Template-buildroot/usr/share/tt2/images/splash/black
dest: /tmp/.private/at/perl-Template-buildroot/usr/share/tt2/images/splash/*
Found 24 GIF files:
up.gif, trhair.gif, tr.gif, tlhair.gif, tl.gif, square.gif
single.gif, ringdot.gif, ring.gif, right.gif, posbox.gif, plus.gif
negbox.gif, minus.gif, left.gif, horz.gif, down.gif, dot.gif
diamond.gif, brhair.gif, br.gif, box.gif, blhair.gif, bl.gif
Bursting into colour...
blue75, purple, bud, grey75, green25, mauve, rose, green, white, blue, green50, navy, blue50, red, red25, marine, leaf, sky, blue25, lilac, orange, green75, red75, blood, black, scarlet, grey50, aqua, red50, grey25, mint,
Generated 31 background colours
/tmp/.private/at/perl-Template-buildroot/usr/share/tt2/docs/ttree.cfg: No such file or directory
try `ttree --help'
make: *** [tt2_html_docs] Error 2
make: Leaving directory `/tmp/.private/at/BUILD/Template-Toolkit-2.20'
error: Bad exit status from /tmp/.private/at/rpm-tmp.92835 (%install)
Show quoted text
> --- a/Makefile.PL
> +++ b/Makefile.PL
> @@ -61,15 +60,8 @@ if (exists $ttconfig{ TT_HELP }) {
> The following options can be specified as command line
> arguments to 'perl Makefile.PL'. e.g.
>
> - perl Makefile.PL TT_PREFIX=/my/tt2/dir TT_ACCEPT=y
> + perl Makefile.PL TT_XS_DEFAULT=y TT_ACCEPT=y
>
> - TT_PREFIX installation prefix ($PREFIX)
> - TT_IMAGES images URL (/tt2/images)
> - TT_DOCS build HTML docs (y)
> - TT_SPLASH use Splash! for docs (y)
> - TT_THEME Splash! theme (default)
> - TT_EXAMPLES build HTML examples (y)
> - TT_EXTRAS install optional extras (y)
> TT_XS_ENABLE Enable XS Stash (y)
> TT_XS_DEFAULT Use XS Stash by default (y)
> TT_QUIET no messages (n)
> @@ -90,12 +82,12 @@ EOF
> # in this script, here defaulted to sensible values
>
> $TT_VERSION = $Template::VERSION;
> -$TT_PREFIX = $PREFIX;
> +$TT_PREFIX = ''; # $PREFIX;
> $TT_IMAGES = $IMAGES;
> -$TT_BUILD_DOCS = 'y';
> -$TT_SPLASH_DOCS = 'y';
> -$TT_EXAMPLES = 'y';
> -$TT_EXTRAS = 'y';
> +$TT_BUILD_DOCS = 'n';
> +$TT_SPLASH_DOCS = 'n';
> +$TT_EXAMPLES = 'n';
> +$TT_EXTRAS = 'n';
> $TT_SPLASH_THEME = 'default';
> $TT_XS_ENABLE = 'y';
> $TT_XS_DEFAULT = 'y';
> @@ -167,11 +159,11 @@ welcome_message();
> version_check();
> mandatory_modules();
> optional_stash_xs();
> -optional_extras();
> -splash_images();
> -html_docs();
> -html_docstyle();
> -html_examples();
> +#optional_extras();
> +#splash_images();
> +#html_docs();
> +#html_docstyle();
> +#html_examples();
> write_defaults();
>
> print "\n";