summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlbert Cheng <acheng@hdfgroup.org>1999-10-15 21:37:08 (GMT)
committerAlbert Cheng <acheng@hdfgroup.org>1999-10-15 21:37:08 (GMT)
commit80dfcec92c0ac094118cf722497e7b7aea355337 (patch)
tree12148790fd8b83ab182a0a43bcbf7d41a15ca770
parent6474c9dfdb971b45ca99ea38a6a6d117771cdc57 (diff)
downloadhdf5-80dfcec92c0ac094118cf722497e7b7aea355337.zip
hdf5-80dfcec92c0ac094118cf722497e7b7aea355337.tar.gz
hdf5-80dfcec92c0ac094118cf722497e7b7aea355337.tar.bz2
[svn-r1765] Makefile.in:
configure.in: Modified to support install-doc. configure: Derived from configure.in via autoconf. INSTALL_MAINT: Moved to doc/html/Lib_Maint.html
-rw-r--r--INSTALL_MAINT111
-rw-r--r--Makefile.in2
-rwxr-xr-xconfigure6
-rw-r--r--configure.in3
4 files changed, 7 insertions, 115 deletions
diff --git a/INSTALL_MAINT b/INSTALL_MAINT
deleted file mode 100644
index 20ee264..0000000
--- a/INSTALL_MAINT
+++ /dev/null
@@ -1,111 +0,0 @@
-Information for HDF5 maintainers:
-
-* You can run make from any directory. However, running in a
- subdirectory only knows how to build things in that directory and
- below. However, all makefiles know when their target depends on
- something outside the local directory tree:
-
- $ cd test
- $ make
- make: *** No rule to make target ../src/libhdf5.a
-
-* All Makefiles understand the following targets:
-
- all -- build locally.
- install -- install libs, headers, progs.
- uninstall -- remove installed files.
- mostlyclean -- remove temp files (eg, *.o but not *.a).
- clean -- mostlyclean plus libs and progs.
- distclean -- all non-distributed files.
- maintainer-clean -- all derived files but H5config.h.in and configure.
-
-* Most Makefiles also understand:
-
- TAGS -- build a tags table
- dep, depend -- recalculate source dependencies
- lib -- build just the libraries w/o programs
-
-* If you have personal preferences for which make, compiler, compiler
- flags, preprocessor flags, etc., that you use and you don't want to
- set environment variables, then use a site configuration file.
-
- When configure starts, it looks in the config directory for files
- whose name is some combination of the CPU name, vendor, and
- operating system in this order:
-
- CPU-VENDOR-OS
- VENDOR-OS
- CPU-VENDOR
- OS
- VENDOR
- CPU
-
- The first file which is found is sourced and can therefore affect
- the behavior of the rest of configure. See config/BlankForm for the
- template.
-
-* If you use GNU make along with gcc the Makefile will contain targets
- that automatically maintain a list of source interdependencies; you
- seldom have to say `make clean'. I say `seldom' because if you
- change how one `*.h' file includes other `*.h' files you'll have
- to force an update.
-
- To force an update of all dependency information remove the
- `.depend' file from each directory and type `make'. For
- instance:
-
- $ cd $HDF5_HOME
- $ find . -name .depend -exec rm {} \;
- $ make
-
- If you're not using GNU make and gcc then dependencies come from
- ".distdep" files in each directory. Those files are generated on
- GNU systems and inserted into the Makefile's by running
- config.status (which happens near the end of configure).
-
-* If you use GNU make along with gcc then the Perl script `trace' is
- run just before dependencies are calculated to update any H5TRACE()
- calls that might appear in the file. Otherwise, after changing the
- type of a function (return type or argument types) one should run
- `trace' manually on those source files (e.g., ../bin/trace *.c).
-
-* Object files stay in the directory and are added to the library as a
- final step instead of placing the file in the library immediately
- and removing it from the directory. The reason is three-fold:
-
- 1. Most versions of make don't allow `$(LIB)($(SRC:.c=.o))'
- which makes it necessary to have two lists of files, one
- that ends with `.c' and the other that has the library
- name wrapped around each `.o' file.
-
- 2. Some versions of make/ar have problems with modification
- times of archive members.
-
- 3. Adding object files immediately causes problems on SMP
- machines where make is doing more than one thing at a
- time.
-
-* When using GNU make on an SMP you can cause it to compile more than
- one thing at a time. At the top of the source tree invoke make as
-
- $ make -j -l6
-
- which causes make to fork as many children as possible as long as
- the load average doesn't go above 6. In subdirectories one can say
-
- $ make -j2
-
- which limits the number of children to two (this doesn't work at the
- top level because the `-j2' is not passed to recursive makes).
-
-* To create a release tarball go to the top-level directory and run
- ./bin/release. You can optionally supply one or more of the words
- `tar', `gzip', `bzip2' or `compress' on the command line. The
- result will be a (compressed) tar file(s) in the `releases'
- directory. The README file is updated to contain the release date
- and version number.
-
-* To create a tarball of all the files which are part of HDF5 go to
- the top-level directory and type:
-
- tar cvf foo.tar `grep '^\.' MANIFEST |unexpand |cut -f1`
diff --git a/Makefile.in b/Makefile.in
index 01fb441..86d0c1d 100644
--- a/Makefile.in
+++ b/Makefile.in
@@ -16,7 +16,7 @@ VPATH=.:@srcdir@
@COMMENCE@
# Subdirectories in build-order (not including `examples')
-SUBDIRS=src test tools @TESTPARALLEL@
+SUBDIRS=src test tools doc @TESTPARALLEL@
##############################################################################
## T A R G E T S
diff --git a/configure b/configure
index ff283db..cb3c99f 100755
--- a/configure
+++ b/configure
@@ -7042,7 +7042,8 @@ ac_given_INSTALL="$INSTALL"
trap 'rm -fr `echo "src/libhdf5.settings config/depend config/commence config/conclude \
Makefile src/Makefile pablo/Makefile test/Makefile \
- testpar/Makefile tools/Makefile examples/Makefile src/H5config.h" | sed "s/:[^ ]*//g"` conftest*; exit 1' 1 2 15
+ testpar/Makefile tools/Makefile examples/Makefile \
+ doc/Makefile doc/html/Makefile doc/html/Tutor/Makefile src/H5config.h" | sed "s/:[^ ]*//g"` conftest*; exit 1' 1 2 15
EOF
cat >> $CONFIG_STATUS <<EOF
@@ -7164,7 +7165,8 @@ cat >> $CONFIG_STATUS <<EOF
CONFIG_FILES=\${CONFIG_FILES-"src/libhdf5.settings config/depend config/commence config/conclude \
Makefile src/Makefile pablo/Makefile test/Makefile \
- testpar/Makefile tools/Makefile examples/Makefile"}
+ testpar/Makefile tools/Makefile examples/Makefile \
+ doc/Makefile doc/html/Makefile doc/html/Tutor/Makefile"}
EOF
cat >> $CONFIG_STATUS <<\EOF
for ac_file in .. $CONFIG_FILES; do if test "x$ac_file" != x..; then
diff --git a/configure.in b/configure.in
index f1bab1c..d9866b6 100644
--- a/configure.in
+++ b/configure.in
@@ -929,7 +929,8 @@ saved_no_create=$no_create
no_create=yes
AC_OUTPUT(src/libhdf5.settings config/depend config/commence config/conclude \
Makefile src/Makefile pablo/Makefile test/Makefile \
- testpar/Makefile tools/Makefile examples/Makefile)
+ testpar/Makefile tools/Makefile examples/Makefile \
+ doc/Makefile doc/html/Makefile doc/html/Tutor/Makefile)
no_create=$saved_no_create
# Then the stamp2 file for H5config.h