fixed minor build glitch
authorSteve Hancock <perltidy@users.sourceforge.net>
Fri, 16 Nov 2018 17:35:15 +0000 (09:35 -0800)
committerSteve Hancock <perltidy@users.sourceforge.net>
Fri, 16 Nov 2018 17:35:15 +0000 (09:35 -0800)
.gitignore
README.md
dev-bin/build.pl
local-docs/Makefile
local-docs/README.pod [deleted file]

index 18c70113b2418ef63f1564c89cd314c1261bd05b..7b07514aaea8a9873b964a88a294971e0210c28d 100644 (file)
@@ -4,6 +4,7 @@
 *.ba1
 *.bak
 *.log
+*.sh
 *.sw?
 *.tar.gz
 *.tdy
index 3028be4498a1b0b2b1fcbcd8bca4d6e60c069a23..c5cf56d8b60345b8fd3f1f4437c01747a4d32789 100644 (file)
--- a/README.md
+++ b/README.md
@@ -1,57 +1,11 @@
-# Welcome to Perltidy!
+# Welcome to Perltidy
 
-Perltidy is a tool to indent and reformat perl scripts.  It can also
-write scripts in html format.
+Perltidy is a tool to indent and reformat scripts written in Perl5.
 
 Perltidy is free software released under the GNU General Public
 License -- please see the included file "COPYING" for details.
 
-# PREREQUISITES
+Documentation can be found at the web site [at GitHub](https://perltidy.github.io/perltidy/) 
+or [at Sourceforge](perltidy.sourceforge.net)
 
-`perltidy` should work with most standard Perl installations.
-The following modules are not required, but perltidy may use them if
-detected:
-
-    HTML::Entities  will be used to encode HTML entities if detected
-    Pod::Html will be used to format pod text
-
-The total disk space needed after removing the installation directory will
-about 2 Mb.  
-
-# DOWNLOAD
-
-There are two source distribution files:
-
-- A `.tgz` "tarball", with Unix-style &lt;lf> line endings, and 
-- A zip file, `.zip`, with Windows-style &lt;cr>&lt;lf> line endings.
-
-In addition, the web site has links to debian and RPM packages.
-
-# INSTALLATION
-
-For most standard installations, the standard Makefile.PL method should work:
-
-    perl Makefile.PL
-    make
-    make test
-    make install
-
-The INSTALL file has additional installation notes, and tells how
-to use perltidy without doing an installation.
-
-# WHAT NEXT
-
-Please see the CHANGES file for notices of any recent updates.
-
-Please see the BUGS file for a list of all known open bugs.
-
-Documentation can be found in the `docs` directory, and it can also be 
-found at http://perltidy.sourceforge.net
-
-Reading the brief tutorial should help you use perltidy effectively.  
-
-# FEEDBACK / BUG REPORTS
-
-A list of current bugs and issues can be found at the CPAN site [https://rt.cpan.org/Public/Dist/Display.html?Name=Perl-Tidy](https://rt.cpan.org/Public/Dist/Display.html?Name=Perl-Tidy)
-
-To report a new bug or problem, use the link on this page .  
+A copy of the web site in contained in the docs folder of the distribution.
index 440c8cbdbf011997aa035aa95f14ecf5e77073ef..88fc2b7a38f7bded4c97de1654bc6d416c535b14 100755 (executable)
@@ -199,7 +199,6 @@ sub make_docs {
     foreach my $file (
         qw(
         local-docs/ChangeLog.pod
-        local-docs/README.pod
         local-docs/INSTALL.pod
         lib/Perl/Tidy.pod
         bin/perltidy
@@ -284,15 +283,15 @@ sub make_zip {
 
     my ($tar_gz_file) = @_;
     my $dir_name = $tar_gz_file;
-    $dir_name =~ s/\.tar*$//;
+    $dir_name =~ s/\.tar\.gz//;
 
     my $command;
 
     # clean out any old build in /tmp
     my $result = sys_command("rm -rf /tmp/$dir_name");
 
-    # move the file
-    $result = sys_command("mv $tar_gz_file /tmp");
+    # copy the file
+    $result = sys_command("cp $tar_gz_file /tmp");
 
     # untar it
     $command = "(cd /tmp; tar xvfz $tar_gz_file;)";
@@ -518,7 +517,7 @@ unchanged: (@unchanged);
 EOM
     if ( grep { $_ =~ /Tidy\.pm/ } @changed ) {
 
-        my $runme = "RUNME.sh";
+        my $runme = "RUNME_after_release.sh";
         make_tag_script( $new_VERSION, $runme );
 
         print <<EOM;
index 95c15c73590b3672780d4d1a735159321d372c3b..8acc5e9e43fb48d950a0f036847da278443ccc0b 100644 (file)
@@ -2,11 +2,9 @@
 
 CHANGES="../CHANGES.md"
 INSTALL="../INSTALL.md"
-README="../README.md"
 BUGS="../BUGS.md"
 
 DOCS=INSTALL \
-README \
 BUGS \
 CHANGES \
 perltidy.md \
@@ -14,9 +12,6 @@ tutorial.md
 
 docs: $(DOCS)
 
-README: README.pod
-       pod2markdown README.pod >../README.md
-
 INSTALL: INSTALL.pod
        pod2markdown INSTALL.pod >../INSTALL.md
 
diff --git a/local-docs/README.pod b/local-docs/README.pod
deleted file mode 100644 (file)
index ac006f7..0000000
+++ /dev/null
@@ -1,66 +0,0 @@
-=head1 Welcome to Perltidy!
-
-Perltidy is a tool to indent and reformat perl scripts.  It can also
-write scripts in html format.
-
-Perltidy is free software released under the GNU General Public
-License -- please see the included file "COPYING" for details.
-
-=head1 PREREQUISITES
-
-C<perltidy> should work with most standard Perl installations.
-The following modules are not required, but perltidy may use them if
-detected:
-
-  HTML::Entities  will be used to encode HTML entities if detected
-  Pod::Html will be used to format pod text
-
-The total disk space needed after removing the installation directory will
-about 2 Mb.  
-
-=head1 DOWNLOAD
-
-There are two source distribution files:
-
-=over 4
-
-=item *
-
-A F<.tgz> "tarball", with Unix-style <lf> line endings, and 
-
-=item *
-
-A zip file, F<.zip>, with Windows-style <cr><lf> line endings.
-
-=back
-
-In addition, the web site has links to debian and RPM packages.
-
-=head1 INSTALLATION
-
-For most standard installations, the standard Makefile.PL method should work:
-
- perl Makefile.PL
- make
- make test
- make install
-
-The INSTALL file has additional installation notes, and tells how
-to use perltidy without doing an installation.
-
-=head1 WHAT NEXT
-
-Please see the CHANGES file for notices of any recent updates.
-
-Please see the BUGS file for a list of all known open bugs.
-
-Documentation can be found in the F<docs> directory, and it can also be 
-found at http://perltidy.sourceforge.net
-
-Reading the brief tutorial should help you use perltidy effectively.  
-
-=head1 FEEDBACK / BUG REPORTS
-
-A list of current bugs and issues can be found at the CPAN site L<https://rt.cpan.org/Public/Dist/Display.html?Name=Perl-Tidy>
-
-To report a new bug or problem, use the link on this page .