From fbacf0337a5186fae215855fb2b83a37e0666195 Mon Sep 17 00:00:00 2001 From: Robb Matzke Date: Tue, 8 Sep 1998 08:38:29 -0500 Subject: [svn-r671] Changes since 19980904 ---------------------- ./MANIFEST ./bin/release ./bin/snapshot The format of the MANIFEST file has been relaxed -- comments and blank lines should no longer confuse the tools that use it. As before, this file should contain a list of *all* files that are part of HDF5, which means all files which are managed by CVS/SVF. However, files can be marked so they're not part of a release by adding _DO_NOT_DISTRIBUTE_ after the file name. I've removed all the *.obj files from the distribution by adding _DO_NOT_DISTRIBUTE_ after their names. I also removed the old white-papers that might not apply to the current version of the library and documentation about chunking performance since it's wrong now that chunk caching is implemented. Everyone please check the files you're responsible for to make sure that they should really be part of a release. To get a list of all files use grep '^\.' MANIFEST | cut -f1 To get a list of files for distribution use: grep '^\.' MANIFEST | grep -v _DO_NOT_DISTRIBUTE_ (These commands assume tabs in the MANIFEST file. If the file might contain spaces then run it through `unexpand' or `tr' first). ./configure.in ./configure ./test/ragged.c Check for sigaction(). ./test/Makefile.in The `clean' target removes the timing tests. --- MANIFEST | 104 +++++++++++++++++++++++++++++++++++------------------------ README | 2 +- bin/release | 20 ++++++++---- bin/snapshot | 2 +- configure | 2 +- configure.in | 2 +- 6 files changed, 79 insertions(+), 53 deletions(-) diff --git a/MANIFEST b/MANIFEST index 937e5c1..67f751b 100644 --- a/MANIFEST +++ b/MANIFEST @@ -1,3 +1,11 @@ +#------------------------------------------------------------------------------ +# This is the list of files that are part of HDF5. All files have a +# `./' prefix and appear in lexicographic order. Lines that end with +# _DO_NOT_DISTRIBUTE_ (preceded by tabs) will not be included in a +# release. Blank lines and comments are ignored. Comments must start +# in column one. +#------------------------------------------------------------------------------ + ./COPYING ./INSTALL ./INSTALL.ascired @@ -11,20 +19,24 @@ ./README ./RELEASE ./acconfig.h -./bin/checkapi -./bin/checkposix +./configure +./configure.in + +./bin/checkapi _DO_NOT_DISTRIBUTE_ +./bin/checkposix _DO_NOT_DISTRIBUTE_ ./bin/config.guess ./bin/config.sub -./bin/debug-ohdr +./bin/debug-ohdr _DO_NOT_DISTRIBUTE_ ./bin/distdep -./bin/errors +./bin/errors _DO_NOT_DISTRIBUTE_ ./bin/h5vers ./bin/install-sh ./bin/iostats ./bin/release ./bin/snapshot ./bin/trace -./bin/versinc +./bin/versinc _DO_NOT_DISTRIBUTE_ + ./config/BlankForm ./config/alpha-dec ./config/alpha-dec-osf4.0 @@ -41,20 +53,19 @@ ./config/powerpc-ibm-aix4.2.1.0 ./config/rs6000-ibm-aix4.1.4.0 ./config/solaris2.5 -./configure -./configure.in + ./doc/html/ddl.html ./doc/html/Attributes.html ./doc/html/Big.html ./doc/html/Caching.html -./doc/html/CodeReview.html +./doc/html/CodeReview.html _DO_NOT_DISTRIBUTE_ ./doc/html/Coding.html ./doc/html/Datasets.html ./doc/html/Dataspaces.html ./doc/html/Datatypes.html ./doc/html/Debugging.html ./doc/html/Errors.html -./doc/html/ExternalFiles.html +./doc/html/ExternalFiles.html _DO_NOT_DISTRIBUTE_ ./doc/html/Files.html ./doc/html/Filters.html ./doc/html/Glossary.html @@ -66,8 +77,8 @@ ./doc/html/H5.sample_code.html ./doc/html/H5.user.html ./doc/html/IOPipe.html -./doc/html/MemoryManagement.html -./doc/html/ObjectHeader.txt +./doc/html/MemoryManagement.html _DO_NOT_DISTRIBUTE_ +./doc/html/ObjectHeader.txt _DO_NOT_DISTRIBUTE_ ./doc/html/Properties.html ./doc/html/RM_H5.html ./doc/html/RM_H5A.html @@ -82,51 +93,52 @@ ./doc/html/RM_H5Z.html ./doc/html/Version.html ./doc/html/chunk1.gif -./doc/html/chunk1.obj +./doc/html/chunk1.obj _DO_NOT_DISTRIBUTE_ ./doc/html/compat.html ./doc/html/dataset_p1.gif ./doc/html/dataset_p1.obj ./doc/html/extern1.gif -./doc/html/extern1.obj +./doc/html/extern1.obj _DO_NOT_DISTRIBUTE_ ./doc/html/extern2.gif -./doc/html/extern2.obj +./doc/html/extern2.obj _DO_NOT_DISTRIBUTE_ ./doc/html/group_p1.gif -./doc/html/group_p1.obj +./doc/html/group_p1.obj _DO_NOT_DISTRIBUTE_ ./doc/html/group_p2.gif -./doc/html/group_p2.obj +./doc/html/group_p2.obj _DO_NOT_DISTRIBUTE_ ./doc/html/group_p3.gif -./doc/html/group_p3.obj +./doc/html/group_p3.obj _DO_NOT_DISTRIBUTE_ ./doc/html/h5s.examples ./doc/html/ph5design.html ./doc/html/ph5example.c ./doc/html/ph5implement.txt ./doc/html/pipe1.gif -./doc/html/pipe1.obj +./doc/html/pipe1.obj _DO_NOT_DISTRIBUTE_ ./doc/html/pipe2.gif -./doc/html/pipe2.obj +./doc/html/pipe2.obj _DO_NOT_DISTRIBUTE_ ./doc/html/pipe3.gif -./doc/html/pipe3.obj +./doc/html/pipe3.obj _DO_NOT_DISTRIBUTE_ ./doc/html/pipe4.gif -./doc/html/pipe4.obj +./doc/html/pipe4.obj _DO_NOT_DISTRIBUTE_ ./doc/html/pipe5.gif -./doc/html/pipe5.obj -./doc/html/heap.txt +./doc/html/pipe5.obj _DO_NOT_DISTRIBUTE_ +./doc/html/heap.txt _DO_NOT_DISTRIBUTE_ ./doc/html/index.html -./doc/html/move.html -./doc/html/review1.html -./doc/html/review1a.html -./doc/html/storage.html -./doc/html/study.html -./doc/html/study_1000x1000.gif -./doc/html/study_250x250.gif -./doc/html/study_499x499.gif -./doc/html/study_5000x1000.gif -./doc/html/study_500x500.gif -./doc/html/study_p1.gif -./doc/html/study_p1.obj -./doc/html/symtab +./doc/html/move.html _DO_NOT_DISTRIBUTE_ +./doc/html/review1.html _DO_NOT_DISTRIBUTE_ +./doc/html/review1a.html _DO_NOT_DISTRIBUTE_ +./doc/html/storage.html _DO_NOT_DISTRIBUTE_ +./doc/html/study.html _DO_NOT_DISTRIBUTE_ +./doc/html/study_1000x1000.gif _DO_NOT_DISTRIBUTE_ +./doc/html/study_250x250.gif _DO_NOT_DISTRIBUTE_ +./doc/html/study_499x499.gif _DO_NOT_DISTRIBUTE_ +./doc/html/study_5000x1000.gif _DO_NOT_DISTRIBUTE_ +./doc/html/study_500x500.gif _DO_NOT_DISTRIBUTE_ +./doc/html/study_p1.gif _DO_NOT_DISTRIBUTE_ +./doc/html/study_p1.obj _DO_NOT_DISTRIBUTE_ +./doc/html/symtab _DO_NOT_DISTRIBUTE_ ./doc/html/version.gif -./doc/html/version.obj +./doc/html/version.obj _DO_NOT_DISTRIBUTE_ + ./doc/src/Glossary.html ./doc/src/H5.intro.doc ./doc/src/RM_H5.html @@ -140,11 +152,13 @@ ./doc/src/RM_H5S.html ./doc/src/RM_H5T.html ./doc/src/RM_H5Z.html -./doc/tgif/APIGrammar.obj -./doc/tgif/FileGrammar.obj -./doc/tgif/IOPipe.obj -./doc/tgif/RobbPipe.obj -./doc/tgif/UserView.obj + +./doc/tgif/APIGrammar.obj _DO_NOT_DISTRIBUTE_ +./doc/tgif/FileGrammar.obj _DO_NOT_DISTRIBUTE_ +./doc/tgif/IOPipe.obj _DO_NOT_DISTRIBUTE_ +./doc/tgif/RobbPipe.obj _DO_NOT_DISTRIBUTE_ +./doc/tgif/UserView.obj _DO_NOT_DISTRIBUTE_ + ./examples/Attributes.txt ./examples/Makefile.in ./examples/h5_chunk_read.c @@ -155,8 +169,9 @@ ./examples/h5_write.c ./examples/h5_select.c ./examples/h5_attribute.c + ./src/.distdep -./src/.indent.pro +./src/.indent.pro _DO_NOT_DISTRIBUTE_ ./src/H5.c ./src/H5A.c ./src/H5Aprivate.h @@ -256,6 +271,7 @@ ./src/H5public.h ./src/Makefile.in ./src/hdf5.h + ./test/.distdep ./test/Makefile.in ./test/big.c @@ -284,6 +300,7 @@ ./test/tohdr.c ./test/tselect.c ./test/tstab.c + ./testpar/Makefile.ascired ./testpar/Makefile.ibmsp ./testpar/Makefile.irix64 @@ -292,6 +309,7 @@ ./testpar/t_file.c ./testpar/testphdf5.c ./testpar/testphdf5.h + ./tools/Makefile.in ./tools/h5debug.c ./tools/h5dump.c diff --git a/README b/README index b247258..04a48ea 100644 --- a/README +++ b/README @@ -1,4 +1,4 @@ -This is hdf5-1.0.77 released on Fri Sep 4 10:19:26 CDT 1998 +This is hdf5-1.0.77 released on Fri Sep 4 18:07:15 EDT 1998 Please refer to the INSTALL file for installation instructions. ------------------------------------------------------------------------------ diff --git a/bin/release b/bin/release index cf4ad9f..5d3db7a 100755 --- a/bin/release +++ b/bin/release @@ -51,12 +51,16 @@ if [ ! -d $DEST ]; then exit 1 fi +# Copy the manifest file to get a list of file names. +MANIFEST=/tmp/H5_MANIFEST.$$ +grep '^\.' MANIFEST | unexpand | cut -f1 >$MANIFEST + # Check that all the files in MANIFEST exist and that (if this is a # CVS checkout) that all the CVS-managed files appear in the # MANIFEST. test "$verbose" && echo " Checking manifest..." 1>&2 -test -f MANIFEST || exit 1 -for file in `cat MANIFEST`; do +test -f $MANIFEST || exit 1 +for file in `cat $MANIFEST`; do if [ ! -f $file ]; then echo "- $file" fail=yes @@ -65,7 +69,7 @@ done for cvs in `find . -type d -name CVS -print`; do path=`echo $cvs |sed s+/CVS++` for file in `cut -d/ -f2 $cvs/Entries`; do - if (grep $path/$file MANIFEST >/dev/null); then + if (grep $path/$file $MANIFEST >/dev/null); then : else echo "+ $path/$file" @@ -74,7 +78,7 @@ for cvs in `find . -type d -name CVS -print`; do done done for file in ./Changes `svf ls`; do - if (grep $file MANIFEST >/dev/null); then + if (grep $file $MANIFEST >/dev/null); then : elif [ $file = ./Changes ]; then : @@ -92,7 +96,10 @@ not appear in the MANIFEST. Please remedy the situation and try again. EOF exit 1 fi - + +# Create a manifest that contains only files for distribution. +grep '^\.' MANIFEST | grep -v _DO_NOT_DISTRIBUTE_ >$MANIFEST + # Prepare the source tree for a release. test -h ../hdf5-$VERS && rm ../hdf5-$VERS ln -s `pwd` ../hdf5-$VERS || exit 1 @@ -105,7 +112,7 @@ test "$verbose" && echo " Running tar..." 1>&2 ( \ cd ..; \ tar cf x.tar hdf5-$VERS/Makefile \ - `sed s+^.+hdf5-$VERS+ hdf5-$VERS/MANIFEST` || exit 1 \ + `sed s+^.+hdf5-$VERS+ $MANIFEST` || exit 1 \ ) # Compress @@ -127,6 +134,7 @@ done # Remove temporary things test -f ../Makefile.x && mv ../Makefile.x Makefile +rm -f $MANIFEST rm -f ../hdf5-$VERS rm -f ../x.tar exit 0 diff --git a/bin/snapshot b/bin/snapshot index 74a724b..d87dd3a 100755 --- a/bin/snapshot +++ b/bin/snapshot @@ -42,7 +42,7 @@ snapshot=yes if [ -d ${COMPARE}/previous ]; then if (diff -c ${COMPARE}/previous/MANIFEST ${COMPARE}/current/MANIFEST); then snapshot=no - for src in `cat ${COMPARE}/current/MANIFEST`; do + for src in `grep '^\.' ${COMPARE}/current/MANIFEST|expand|cut -f1`; do if (diff -I H5_VERS_RELEASE -I " released on " \ ${COMPARE}/previous/$src ${COMPARE}/current/$src); then else diff --git a/configure b/configure index a75d147..5365521 100755 --- a/configure +++ b/configure @@ -2115,7 +2115,7 @@ else fi done -for ac_func in gettimeofday BSDgettimeofday difftime +for ac_func in gettimeofday BSDgettimeofday difftime sigaction do echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 echo "configure:2122: checking for $ac_func" >&5 diff --git a/configure.in b/configure.in index c7486b7..a6b562e 100644 --- a/configure.in +++ b/configure.in @@ -213,7 +213,7 @@ dnl ---------------------------------------------------------------------- dnl Check for functions. dnl AC_CHECK_FUNCS(getpwuid gethostname system getrusage fork waitpid) -AC_CHECK_FUNCS(gettimeofday BSDgettimeofday difftime) +AC_CHECK_FUNCS(gettimeofday BSDgettimeofday difftime sigaction) AC_TRY_COMPILE([#include], [off64_t n = 0;], -- cgit v0.12