[svn-r27655] Add .pl extension to Perl scripts in bin (part of HDFFV-9513)

This makes things easier on Windows, where we will have to run
Perl scripts as a part of CMake.

Tested on: jam
This commit is contained in:
Dana Robinson 2015-09-01 11:28:05 -05:00
parent d2cbacb945
commit 77525ea95d
18 changed files with 29 additions and 29 deletions

View File

@ -39,24 +39,24 @@
./bin/COPYING
./bin/bbrelease _DO_NOT_DISTRIBUTE_
./bin/buildhdf5
./bin/checkapi _DO_NOT_DISTRIBUTE_
./bin/checkposix _DO_NOT_DISTRIBUTE_
./bin/checkapi.pl _DO_NOT_DISTRIBUTE_
./bin/checkposix.pl _DO_NOT_DISTRIBUTE_
./bin/chkconfigure _DO_NOT_DISTRIBUTE_
./bin/chkcopyright _DO_NOT_DISTRIBUTE_
./bin/chkmanifest
./bin/cmakehdf5
./bin/debug-ohdr _DO_NOT_DISTRIBUTE_
./bin/dependencies
./bin/debug-ohdr.pl _DO_NOT_DISTRIBUTE_
./bin/dependencies.pl
./bin/deploy
./bin/distdep
./bin/errors _DO_NOT_DISTRIBUTE_
./bin/distdep.pl
./bin/errors.pl _DO_NOT_DISTRIBUTE_
./bin/gcov_script _DO_NOT_DISTRIBUTE_
./bin/h5vers
./bin/iostats
./bin/h5vers.pl
./bin/iostats.pl
./bin/locate_sw
./bin/make_err
./bin/make_overflow
./bin/make_vers
./bin/make_err.pl
./bin/make_overflow.pl
./bin/make_vers.pl
./bin/makehelp
./bin/mkdirs
./bin/newer
@ -67,7 +67,7 @@
./bin/snapshot
./bin/snapshot_version _DO_NOT_DISTRIBUTE_
./bin/timekeeper _DO_NOT_DISTRIBUTE_
./bin/trace
./bin/trace.pl
./bin/yodconfigure
./config/COPYING
@ -97,7 +97,7 @@
./config/pgi-fflags
./config/pgi-flags
./config/powerpc-ibm-aix5.x
./config/solaris2
./config/solaris
./config/x86_64-pc-cygwin
./config/site-specific/BlankForm

View File

@ -366,28 +366,28 @@ echo
# have no effect on files that don't have HDF5 API macros in them.
echo
echo "Running trace script:"
bin/trace src/H5*.c || exit 1
bin/trace.pl src/H5*.c || exit 1
# Run make_err
# make_err automatically generates the H5E headers that create error message
# types for HDF5.
echo
echo "Running error generation script:"
bin/make_err src/H5err.txt || exit 1
bin/make_err.pl src/H5err.txt || exit 1
# Run make_vers
# make_vers automatically generates the public headers that define the API version
# macros for HDF5.
echo
echo "Running API version generation script:"
bin/make_vers src/H5vers.txt || exit 1
bin/make_vers.pl src/H5vers.txt || exit 1
# Run make_overflow
# make_overflow automatically generates macros for detecting overflows for type
# conversion.
echo
echo "Running overflow macro generation script:"
bin/make_overflow src/H5overflow.txt || exit 1
bin/make_overflow.pl src/H5overflow.txt || exit 1
# Run flex and bison
# automatically generates hl/src/H5LTanalyze.c and hl/src/H5LTparse.c

View File

@ -163,7 +163,7 @@ fi
# Defaults
DEST=releases
VERS=`perl bin/h5vers`
VERS=`perl bin/h5vers.pl`
VERS_OLD=
test "$VERS" || exit 1
verbose=yes
@ -183,7 +183,7 @@ RESTORE_VERSION()
echo restoring version information back to $VERS_OLD
rm -f config/lt_vers.am
cp $tmpdir/lt_vers.am config/lt_vers.am
bin/h5vers -s $VERS_OLD
bin/h5vers.pl -s $VERS_OLD
VERS_OLD=
fi
}
@ -252,7 +252,7 @@ if [ X$pmode = Xyes ]; then
# (h5vers does not correctly handle just m.n.r-$today.)
VERS=`echo $VERS | sed -e s/-.*//`-of$today
echo Private release of $VERS
bin/h5vers -s $VERS
bin/h5vers.pl -s $VERS
fi
if [ X$revmode = Xyes ]; then
@ -266,7 +266,7 @@ if [ X$revmode = Xyes ]; then
# (h5vers does not correctly handle just m.n.r-$today.)
VERS=`echo $VERS | sed -e s/-.*//`-r$revision
echo Private release of $VERS
bin/h5vers -s $VERS
bin/h5vers.pl -s $VERS
HDF5_VERS=hdf5-$branch-r$revision
# use a generic directory name for revision releases
HDF5_IN_VERS=hdfsrc

View File

@ -16,7 +16,7 @@
require 5.003;
# Purpose: insures that API functions aren't called internally.
# Usage: checkapi H5*.c
# Usage: checkapi.pl H5*.c
my $filename = "";
my $lastname = "";

View File

@ -248,7 +248,7 @@ if [ ! -d $srcdir ]; then
fi
# figure out version information
vers=bin/h5vers
vers=bin/h5vers.pl
if [ ! -x $srcdir/$vers ]; then
echo $srcdir/$vers not found or not executable. Aborted.
exit 1

View File

@ -30,7 +30,7 @@ use strict;
# by appending a tilde `~' to the name.
### Usage:
# h5vers [OPTIONS] [FILE]
# h5vers.pl [OPTIONS] [FILE]
# Without options this program only displays the current version and
# doesn't modify any files or create backups. The default is to print

View File

@ -159,7 +159,7 @@ fi
# Defaults
DEST=releases
VERS=`perl bin/h5vers`
VERS=`perl bin/h5vers.pl`
VERS_OLD=
test "$VERS" || exit 1
verbose=yes
@ -178,7 +178,7 @@ RESTORE_VERSION()
echo restoring version information back to $VERS_OLD
rm -f config/lt_vers.am
cp $tmpdir/lt_vers.am config/lt_vers.am
bin/h5vers -s $VERS_OLD
bin/h5vers.pl -s $VERS_OLD
VERS_OLD=
fi
}
@ -240,7 +240,7 @@ if [ X$pmode = Xyes ]; then
# (h5vers does not correctly handle just m.n.r-$today.)
VERS=`echo $VERS | sed -e s/-.*//`-of$today
echo Private release of $VERS
bin/h5vers -s $VERS
bin/h5vers.pl -s $VERS
fi
# Store hdf5-$VERS ("hdf5-1.7.51", e.g.) to a variable to avoid typos

View File

@ -466,10 +466,10 @@ if [ "$cmd" = "all" -o -n "$cmdrel" ]; then
# commit source if errors encounter here.
set -e
cd ${CURRENT}
RELEASE_VERSION="`perl bin/h5vers -v`"
RELEASE_VERSION="`perl bin/h5vers.pl -v`"
echo "Making snapshot release ($RELEASE_VERSION) to ${ReleaseDir}..."
bin/release -d $ReleaseDir $METHODS
perl bin/h5vers -i
perl bin/h5vers.pl -i
svn -q commit -m "Snapshot $RELEASE_VERSION"
)
errcode=$?