mirror of
https://github.com/Unidata/netcdf-c.git
synced 2024-12-21 08:39:46 +08:00
d62a9e623c
re: github issue https://github.com/Unidata/netcdf-c/issues/1111 One of the less common use cases for the in-memory feature is apparently failing with HDF5-1.10.x. The fix is complicated and requires significant changes to libhdf5/nc4memcb.c. The current setup is detailed in the file docs/inmeminternal.dox. Additionally, it was discovered that the program nc_test/tst_inmemory.c, which is invoked by nc_test/run_inmemory.sh, actually was failing because of the above problem. But the failure is not detected since the script does not return non-zero value. Other Changes: 1. Fix nc_test_tst_inmemory to return errors correctly. 2. Make ncdap_tests/findtestserver.c and dap4_tests/findtestserver4.c be generated from ncdap_test/findtestserver.c.in. 3. Make LOG() print output to stderr instead of stdout to avoid contaminating e.g. ncdump output. 4. Modify the handling of NC_INMEMORY and NC_DISKLESS flags to properly handle that NC_DISKLESS => NC_INMEMORY. This affects a number of code pieces, especially memio.c.
66 lines
2.1 KiB
Makefile
66 lines
2.1 KiB
Makefile
## This is a automake file, part of Unidata's netCDF package.
|
|
# Copyright 2005-2011, see the COPYRIGHT file for more information.
|
|
# This file builds the netcdf documentation.
|
|
|
|
# These files will be included with the dist.
|
|
EXTRA_DIST = netcdf.m4 DoxygenLayout.xml Doxyfile.in footer.html \
|
|
mainpage.dox tutorial.dox guide.dox types.dox cdl.dox \
|
|
architecture.dox internal.dox windows-binaries.md \
|
|
building-with-cmake.md CMakeLists.txt groups.dox install.md notes.md \
|
|
install-fortran.md all-error-codes.md credits.md auth.md \
|
|
obsolete/fan_utils.html bestpractices.md filters.md indexing.dox \
|
|
inmemory.md DAP4.dox OPeNDAP.dox attribute_conventions.md FAQ.md \
|
|
file_format_specifications.md known_problems.md COPYRIGHT.dox \
|
|
user_defined_formats.md inmeminternal.dox
|
|
|
|
# Turn off parallel builds in this directory.
|
|
.NOTPARALLEL:
|
|
|
|
# To build documentation you must have M4 in their path.
|
|
M4 = m4
|
|
|
|
SUBDIRS = images
|
|
|
|
if BUILD_DOCS
|
|
|
|
# Copy man pages.
|
|
#directory = $(top_srcdir)/docs/man/man3/
|
|
#dist_man_MANS = $(docsdirectory)/man_page_1.3 $(directory)/man_page_2.3
|
|
# $(directory)/man_page_1.3: doxyfile.stamp
|
|
# $(directory)/man_page_2.3: doxyfile.stamp
|
|
|
|
# Note: in order to work with distcheck,
|
|
# the Doxyfile needs to be preprocessed
|
|
# to insert actual location of $(srcdir)
|
|
#BUILT_SOURCES = Doxyfile.tmp
|
|
|
|
#Doxyfile.tmp: Doxyfile
|
|
# sed -e 's|$$[({]rootdir[})]|$(abs_top_srcdir)|g' <Doxyfile > ./Doxyfile.tmp
|
|
|
|
all-local: doxyfile.stamp
|
|
clean-local:
|
|
rm -rf $(top_builddir)/docs/man
|
|
rm -rf $(top_builddir)/docs/html
|
|
rm -rf $(top_builddir)/docs/latex
|
|
rm -rf $(top_builddir)/docs/latex_main
|
|
endif
|
|
|
|
# Timestamp to prevent rebuilds.
|
|
# We must do this twice. The first time
|
|
# builds the tag files. The second time
|
|
# includes them in the documentation.
|
|
|
|
doxyfile.stamp:
|
|
$(DOXYGEN) Doxyfile \
|
|
cp auth.md obsolete/fan_utils.html html
|
|
|
|
CLEANFILES = doxyfile.stamp
|
|
|
|
# This builds the docs from source, if necessary, and tars up
|
|
# everything needed for the website. Run this and copy the resulting
|
|
# tarball to the /contents/netcdf/docs directory to update the on-line
|
|
# docs.
|
|
web-tarball: doxyfile.stamp
|
|
cd html; tar cf ../netcdf_docs.tar *
|
|
gzip -f netcdf_docs.tar
|