| 1 | #!/usr/bin/perl | ||
| 2 | |||
| 3 | print $/; | ||
| 4 | print " Changes should be made to Playground.tt *not* Playground.pm \n"; | ||
| 5 | print " Changes should be made to MANIFEST.sans-scripts *not* MANIFEST \n"; | ||
| 6 | print $/; | ||
| 7 | |||
| 8 | print $/; | ||
| 9 | print "I hope you bumped the version number", $/; | ||
| 10 | print $/; | ||
| 11 | |||
| 12 | #`cd scripts; ../delete-whitespace.pl; ../manifest-files.pl`; | ||
| 13 | |||
| 14 | my @system = qw(cvs commit); | ||
| 15 | system(@system) == 0 or die "system @system failed: $?"; | ||
| 16 | |||
| 17 | |||
| 18 | `perl tt.pl Playground.tt`; | ||
| 19 | rename('Playground.tt-out', 'Playground.pm'); | ||
| 20 | `pod2html Playground.pm > Playground.html`; | ||
| 21 | |||
| 22 | open M, ">MANIFEST"; | ||
| 23 | |||
| 24 | open L, "MANIFEST.sans-scripts"; | ||
| 25 | print M $_ while <L>; | ||
| 26 | print M $_, $/ while <scripts/*.pl>; | ||
| 27 | |||
| 28 | print `perl Makefile.PL PREFIX=$ENV{PREFIX}`; | ||
| 29 | print `make install`; | ||
| 30 | print `make tardist`; |